代码改变世界

Hello, Razor!

2013-09-10 14:58 by 执着的梦想, 399 阅读, 0 推荐, 收藏, 编辑
摘要:Razor is a template syntax that allows you to combine code and content in a fluid and expressive manner. Though it introduces a few symbols and keywords, Razor is not a new language. Instead, Razor le... 阅读全文

Possible multiple enumeration of IEnumerable

2013-07-29 18:25 by 执着的梦想, 1675 阅读, 1 推荐, 收藏, 编辑
摘要:Consider the following code snippet: 1: 2: IEnumerable names = GetNames(); 3: foreach (var name in names) 4: Console.WriteLine("Found " + name); 5: var allNames = ... 阅读全文

ReSharper Tips—GotoImplementation

2013-07-24 12:32 by 执着的梦想, 248 阅读, 0 推荐, 收藏, 编辑
摘要:To get the list of all existing implementation of a base class and navigate to one of them, place the caret at the declaration of the symbol or its usage, and invoke GotoImplementation command. ... 阅读全文