SpencecitJX
New Member
OK so I have 2 List(of String). Lets call them myList1 and myList2. Each of these list(of String) have items added and removed from them based on user actions. Elsewhere in the code I populate a string variable with the name of one of those 2 List(of String). Lets call it myString. So lets say \[code\]myString = "myList2"\[/code\]. How would I go about getting the count of the number of items in myList2 from only that string value? Would I have to use some kind of \[code\]DirectCast()\[/code\] or \[code\]CType()\[/code\] on myString?I am really at a loss here and any help would be greatly appreciated.