Answers for "how to create a string list in c#"

C#
11

make a list c#

IList<int> newList = new List<int>(){1,2,3,4};
Posted by: Guest on December-23-2019
1

c# string list

// This will create a new list called 'nameOfList':
var nameOfList = new List<string> 
{
  "value1",
  "value2",
  "value3"
};
Posted by: Guest on October-28-2020

Code answers related to "how to create a string list in c#"

C# Answers by Framework

Browse Popular Code Answers by Language