using System; namespace Example11 { class Employee { private int idNumber; public int GetID() { return idNumber; } public void SetID(int id) { idNumber = id; } } /// /// Summary description for Class1. /// class Class1 { /// /// The main entry point for the application. /// [STAThread] static void Main(string[] args) { Employee myAssistant = new Employee(); myAssistant.SetID(345); Console.WriteLine("ID # is {0}", myAssistant.GetID()); } } }