1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-11-09 22:08:58 +01:00
programming-challenges/challenges/hello-world/solutions/cs/function/Solution.cs

18 lines
279 B
C#
Raw Normal View History

using System;
2021-06-24 22:04:28 +02:00
namespace Solution
{
class Program
2021-06-24 22:04:28 +02:00
{
static void Main()
{
string line;
while ((line = Console.ReadLine()) != null)
{
2021-06-24 22:04:28 +02:00
Console.WriteLine($"Hello, {line}!");
}
}
2021-06-24 22:04:28 +02:00
}
}