Skip to content

Instantly share code, notes, and snippets.

@RMcGee
Created October 23, 2013 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RMcGee/7123015 to your computer and use it in GitHub Desktop.
Save RMcGee/7123015 to your computer and use it in GitHub Desktop.
Employee[] employees = new Employee[100];
employees [0] = new Employee("Reid", "McGee", 651864324, 22, 'M');
employees [1] = new Employee("Mike", "Besney", 651864324, 55, 'M', 30);
employees [1].FirstName = "Florence";
employees[1].Gender = 'F';
for (Int32 n = 0; n < 2; n++)
Console.WriteLine(employees[n].LastName + employees[n].FirstName + " " + employees[n].Sin + " " +
employees[n].Age + " " + employees[n].Gender + " " + employees[n].YearsService + " " +
employees[n].IsEligibleToRetire());
Console.ReadLine();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment