How to initialize a list of strings (List<string>) with many string values
Solution 1:
Just remove ()
at the end.
List<string> optionList = new List<string>
{ "AdditionalCardPersonAdressType", /* rest of elements */ };
Solution 2:
List<string> mylist = new List<string>(new string[] { "element1", "element2", "element3" });