Declaring an array of linked list in C#
- by xarzu
I got the compile error message "Array size cannot be specified in a variable declaration (try initializing with a 'new' expression)" when I tried to declare an array of linked lists.
public LinkedList[2] ExistingXMLList;
Also, if I wanted to create a small array of strings, isn't this the way:
string [2] inputdata;