How to create an empty local List<of String> ?
Posted: Thu Sep 06, 2012 12:47 am
I would like to create a local List<of String> within a method, initially empty, to which I can then add items from information extracted from an Oracle database.
So far I've got:
I'm still not very familiar with .NET - what am I missing?
All the other alternatives I've tried end up with a List<of object>, but I'd like to be clear that it only contains strings.
So far I've got:
- Code: Select all
returnList as List<of String> = ["junk"]
returnList.clear
I'm still not very familiar with .NET - what am I missing?
All the other alternatives I've tried end up with a List<of object>, but I'd like to be clear that it only contains strings.