object to list of strings c# code example
Example 1: convert object to list of objects c#
IList collection = (IList)myObject;
Example 2: list of objects to string c#
var mylist = myObjectList.ConvertAll(x => x.ToString());
IList collection = (IList)myObject;
var mylist = myObjectList.ConvertAll(x => x.ToString());