Пример #1
0
 static void Main(string[] args)
 {
     Moscow firstCity = new Moscow(10000000);
     Minsk secondCity = new Minsk(2000000);
     Kiev thirdCity = new Kiev(2800000);
     Console.WriteLine("The largest population is in {0} {1} people", city, population);
 }
Пример #2
0
 static void Main(string[] args)
 {
     London l = new London();
     Moscow m = new Moscow();
     Berlin b = new Berlin();
     Console.WriteLine(l > b);
     Console.WriteLine(m == l);
 }