I have an IEnumerable
called day. I am trying to get all the elements from the IEnumerable
and convert them to a string. Using
string day = day.First().ToString()
I am able to get the first element. I have tried using .ToList()
and .ToArray()
both do not print out the elements.