با فرض داشتن کلاسی مانند :
public class Person
{
public Person() { }
public Person(string _firstName, string _lastName)
{
this.firstName = _firstName;
this.lastName = _lastName;
}
private string firstName;
public string FirstName
{
get { return firstName; }
set { firstName = value; }
}
private string lastName;
public string LastName
{
get { return lastName; }
set { lastName = value; }
}
}

میتونیم بنویسیم :
List<Person> persons = new List<Person>();
persons.Add(new Person("ali", "ahmadi");
persons.Add(new Person("maryam", "hosseini");