Program for Run Time Polymorphism using C Sharp

using System; class Manager {      public virtual void Work()      {          Console.WriteLine(“Manager”);      } } class Employee : Manager {      public override void Work()      {          Console.WriteLine(“Employee”);      } } class Trainee : Employee {      public override void Work()      {          Console.WriteLine(“Trainee”);      }      public void Chess()      {          Console.WriteLine(“Playing chess”);      } } class Program {     public static void Main()…

View More Program for Run Time Polymorphism using C Sharp