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

16 lines
228 B
C#
Raw Normal View History

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