20
1
using System;
2
using System.Collections.Generic;
3
4
class Person
5
{
6
public string name;
7
public string surname;
8
public Person(string n, string s) { name = n; surname = s; }
9
}
10
11
public class Program
12
{
13
List<Person> People = new List<Person>();
14
15
public static void Main()
16
{
17
People.Add(new Person("Adolf", "Hitler"));
18
Console.WriteLine("Done!");
19
}
20
}
Cached Result