If it returns an IEnumerable<char>
, then this is what it is. Suppose you want to use Select () rather than SelectMany (), I would suggest that it smooths a bunch of lines as an IEnumerable<char>
. If you can post more code that shows what is in the objectCollection
, we could help more.
EDIT
a bit more code to illustrate my point
List<string> stringList = new List<string>(); stringList.Add("string1"); stringList.Add("string2"); IEnumerable<char> chars = stringList.SelectMany(x => x);
Ben robinson
source share