I am writing my testcode and I do not want wo write:
List nameslist = new List(); nameslist.Add(\"one\"); nameslist.Add(\"two\"); nam
Change the code to
List nameslist = new List {"one", "two", "three"};
or
List nameslist = new List(new[] {"one", "two", "three"});