예제 #1
0
        static void Main(string[] args)
        {
            Coaching coaching1 = new Coaching("Defence", 21, "ejeje", 200.00m);

            coaching1.DisplayDetails(coaching1);
            Console.ReadLine();
        }
예제 #2
0
 public void DisplayDetails(Coaching coaching)
 {
     Console.WriteLine($"Type: {Type} \nNumber of players: {NumberOfPlayers} \nClasstiming: {ClassTimings} \nCharges: {Charges:C}");
 }