using System.Collections;
public String PlaceOfBirth;
public ClsPerson(String Name,int Age,String PlaceOfBirth)
this.PlaceOfBirth=PlaceOfBirth;
public bool CanVote(int Age)
public static void Main()
SortedList hashtable = new SortedList();
int n=Convert.ToInt32(Console.ReadLine());
ClsPerson []c=new ClsPerson[n];
String name=(String)Console.ReadLine();
int age=Convert.ToInt32(Console.ReadLine());
String placeofbirth=(String)Console.ReadLine();
c[i]=new ClsPerson(name,age,placeofbirth);
Console.WriteLine(c[i].CanVote(c[i].Age));
foreach (DictionaryEntry entry in hashtable)
Console.WriteLine("{0}, {1}", entry.Key, entry.Value);
Console.WriteLine("above person can vote\n");
else Console.WriteLine("above person can't vote\n");