J
Joe Cool
You know how you can instantiate an array of, say, strings and specify
intial values at the same time with something like:
string[] myStrings = new string[3] { "value1", "value2", "value3" };
Can the same type of thing be done for a List<string> object?
I've done a lot of web searching but I can't find any sample code that
illustrates this.
intial values at the same time with something like:
string[] myStrings = new string[3] { "value1", "value2", "value3" };
Can the same type of thing be done for a List<string> object?
I've done a lot of web searching but I can't find any sample code that
illustrates this.