1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 6 namespace TestCode 7 { 8 public class Country 9 { Country(int id, string name, string capital, double population)10 public Country(int id, string name, string capital, double population) 11 { 12 ID = id; 13 Name = name; 14 Capital = capital; 15 Population = population; 16 } 17 18 public int ID 19 { 20 get; 21 set; 22 } 23 24 public string Name 25 { 26 get; 27 set; 28 } 29 30 public string Capital 31 { 32 get; 33 set; 34 } 35 36 public double Population 37 { 38 get; 39 set; 40 } 41 } 42 }