Answers for "add a number to a list in c sharp"

C#
12

c# adding to a list

//Declaring that its a list
List<string> test = new List<string>(); 
test.Add("Hello")
Posted by: Guest on March-02-2020
-1

how to add to a list in c#

List<string> names = new List<string>();
names.Add("Bob");
Posted by: Guest on February-08-2022

C# Answers by Framework

Browse Popular Code Answers by Language