IntelliSense for strings doesn't work as expected
In this case the Last() extension method isn't recommended by the intellisense menu, but it should be.
In this case Last() is recommended:
I assume because of that behavior a lot of people expect they must add AsQueryable() to use Last().
"12345".Last()
In this case Last() is recommended:
"12345".AsQueryable().Last()
I assume because of that behavior a lot of people expect they must add AsQueryable() to use Last().
Comments
If you type in a LINQ extension method on string, however, the parameter autocompletion will still work.