// Create a list of strings using 'new List<string>{}' List<string> stringList = new List<string>{"string1", "string2"};
string res = stringlist[0];