i have the an IList and i wish to turn it into a ToArray() string result. Currently i have to do the following 🙁
List<string> values = new List<string>(); foreach(var value in numberList) { values.Add(value.ToString()); } ... string blah = string.Join(',', values.ToArray());
i was hoping to remove the foreach and replace it with some FunkyColdMedina linq code.
Cheers!
or the one liner