create List c#
using System.Collections.Generic
//type is your data type (Ej. int, string, double, bool...)
List newList = new List();
make a list c#
IList newList = new List(){1,2,3,4};
Create list C#
var list = new List {
"test1",
"test2",
"test3"
};
how to create a list c#
C# By Magnificent Mamba on Dec 23 2019
IList newList = new List(){1,2,3,4};
list C#
List names = new List();List
Create list C#
var list = new List { "test1", "test2", "test3" };
|