DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
new list/array with values c#
var myList = new List<string> { "foo", "bar" }; //Alternatively var myArray = new[]{ "foo", "bar" };
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#values
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit