loading
main.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;

class MainClass {
  public static void Main (string[] args) {

    IGreeting gre1 = new EnglishGreeting("Kenan Hancer");

    IGreeting gre2 = new TurkishGreeting("Kenan Hancer");

    Console.WriteLine(gre1.sayHello());

    Console.WriteLine(gre2.sayHello());

    System.IO.File.WriteAllText("HelloMessage.txt", gre2.sayHello());
  }
}