Why doesn't VS 2008 display extension methods in Intellisense for String class

后端 未结 3 1437
长发绾君心
长发绾君心 2020-11-30 13:44

Since String implements IEnumerable, I was expecting to see the Enumerable extension methods in Intellisense, for example, when typing the period in

3条回答
  •  佛祖请我去吃肉
    2020-11-30 14:10

    For info, this has changed in VS2010 (in beta 2, at least). It looks like this filtering has been removed (presumably it caused too much confusion), and the methods are now visible, along with the extension-method glyph.

提交回复
热议问题