Ad
Code
Diff
  • using System;
    class Kata {
        public static string Main(string greeting, string language) {
          Console.WriteLine(Greeting(greeting, language));
          return Greeting(greeting, language);
        }
        
        public static string Greeting(string greeting, string language) => $"{greeting} {language}!";
    }
    • using System;
    • class Kata {
    • public static string Main(string greeting, string language) {
    • Console.WriteLine(Greeting(greeting, language));
    • return Greeting(greeting, language);
    • }
    • public static string Greeting(string greeting, string language) => $"{greeting}, {language}!";
    • public static string Greeting(string greeting, string language) => $"{greeting} {language}!";
    • }