Intellisense for LINQ methods on strings not working?
The LINQ extension methods don't seem to be getting found on strings by IntelliSense. Seems to work fine in VS2015.
Compare these two screenshots:
http://i.imgur.com/KfOjzuT.png
http://i.imgur.com/WazmzHM.png
That shows that:
a) the extension methods work, even though Intellisense can't find them;
b) Intellisense finds the extension methods on arrays
It also finds the extension methods on Lists.
Anyone know what the problem is here?
Many thanks!
Charles
Compare these two screenshots:
http://i.imgur.com/KfOjzuT.png
http://i.imgur.com/WazmzHM.png
That shows that:
a) the extension methods work, even though Intellisense can't find them;
b) Intellisense finds the extension methods on arrays
It also finds the extension methods on Lists.
Anyone know what the problem is here?
Many thanks!
Charles
Comments
It's not often that you want to treat string as an IEnumerable, and they make it hard to find any other extension methods that you might have defined for the string type.