Answers for "c# create two list and add them to make one list"

4

combine two lists c#

List<string> a = new List<string>();
List<string> b = new List<string>();

a.AddRange(b);
Posted by: Guest on September-18-2020
0

c# add multiple items to list

List<Person> listofPersons = new List<Person>();
listofPersons.AddRange(new List<Person>
{
    new Person("John1", "Doe" ),
    new Person("John2", "Doe" ),
    new Person("John3", "Doe" ),
 });
Posted by: Guest on April-06-2021

Code answers related to "c# create two list and add them to make one list"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language