using System.Collections.Generic;
public static int nextid = 1100;
public employee(string firstname, string lastname){
this.firstname = firstname;
this.lastname = lastname;
public employee(string firstname,string lastname, string jobTitle) {
this.firstname = firstname;
this.lastname = lastname;
this.jobTitle = jobTitle;
public static void Main(string[] args){
List<employee> employeeList= new List<employee>();
employeeList.Add(new employee("Parth","Patel","Inter"));
employeeList.Add(new employee("Devraj","Galchr","Inter"));
employeeList.Add(new employee("Dip","Maheta","Inter"));
employeeList.Add(new employee("Yagnik","Thakkar","Inter"));
employeeList.Add(new employee("Hardev","Chauhan","Inter"));
employeeList.Add(new employee("Bhavin","Nandaniya","Sr.Software Developer"));
employeeList.Add(new employee("Jay","Pankhaniya","Sr.Software Developer"));
employeeList.Add(new employee("Chirag","Parmar","Sr.Software Developer"));
employeeList.Add(new employee("Piyush","Patel","Project Manager"));
employeeList.Add(new employee("Amit","Patil","HR"));
employeeList.Add(new employee("Amit","Thakkar","Project Manager"));
foreach(var List in employeeList){
Console.WriteLine("employee: {0}, {1}, {2}, {3}" , List.getID(), List.firstname , List.lastname , List.jobTitle);