I'm trying to cast List<object>
to List<string>
dynamically. I've tried several ways, but I can't find a solution. This is a small sample that shows the problem:
List<object> listObject = new List<object>();
listObject.Add("ITEM 1");
listObject.Add("ITEM 2");
listObject.Add("ITEM 3");
List<string> listString = ¿¿listObject??;
Thanks in advance!