I'd expect it to behave the same way - it sounds unlikely that it's a
bug, and much more likely that it's a feature as Marc suggests. It's
quite rare that you actually want to treat a string as an
IEnumerable<char> in my experience.
I'm currently reading "LINQ in Action".
In chapter 4.2.1, it is stated that:
"The extension methods for the System.String are specifically excluded [from
intelliSense] because it is seen as highly unusual to treat a string object
as an IEnumerable<char>."
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.