using System; class Kata { public static void Main() { string greeting = "Hello"; string language = "C#"; Console.WriteLine($"{greeting}, {language}!"); } }
class Kata{public static void Main(){string greeting = "Hello";string language = "C#";System.Console.WriteLine("{0}, {1}!", greeting, language);}- using System;
- class Kata
- {
- public static void Main()
- {
- string greeting = "Hello";
- string language = "C#";
- Console.WriteLine($"{greeting}, {language}!");
- }
- }