Just remove ()
at the end.
List<string> optionList = new List<string>
{ "AdditionalCardPersonAdressType", /* rest of elements */ };
More Related Contents:
- Find index of returned list result C#
- Making a List in C# with three flexible elements in one datatype
- Convert a list to a string in C#
- C# List to string with delimiter
- sort string-numbers [duplicate]
- How to sort list of Ip Addresses using c#
- Increase c# list performance
- Identify if a string is a number
- List of Timezone IDs for use with FindTimeZoneById() in C#?
- Converting string to title case
- Most efficient way to remove special characters from string
- Serialize an object to string
- What does $ mean before a string?
- Converting string to double in C#
- Find text in string with C#
- Is there a C# case insensitive equals operator?
- How to remove all white space from the beginning or end of a string?
- How to check if a list is ordered?
- Remove text in-between delimiters in a string (using a regex?)
- how to check if object already exists in a list
- Pass C# string to C++ and pass C++ result (string, char*.. whatever) to C#
- How do I capitalize first letter of first name and last name in C#?
- Truncate string on whole words in .NET C#
- Display Float as String with at Least 1 Decimal Place
- Delete last char of string
- string.Join on a List or other type
- WPF Filter a ListBox
- Regular expression to find and remove duplicate words
- Using StreamReader to check if a file contains a string
- Eliminate consecutive duplicates of list elements