I am writing my testcode and I do not want wo write:
List nameslist = new List(); nameslist.Add(\"one\"); nameslist.Add(\"two\"); nam
Just lose the parenthesis:
var nameslist = new List { "one", "two", "three" };