Answers for "declare a string list object c#"

C#
1

c# list of strings

List<string> stringList = new List<string>();
stringList.Add("hello");
Posted by: Guest on May-30-2021
0

c# string list

List<string> mylist = new List<string>(new string[] { "element1", "element2", "element3" });
Posted by: Guest on March-26-2022

C# Answers by Framework

Browse Popular Code Answers by Language