csharp list of objects code example
Example 1: C# list
List<string> myListOfStrings = new List<string>
{
"this",
"is",
"my",
"list"
};
Example 2: c# new list object
var intList = new List<int>();
List<string> myListOfStrings = new List<string>
{
"this",
"is",
"my",
"list"
};
var intList = new List<int>();