1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2025-05-18 12:02:53 +02:00

feat(languages): add C# support

This commit is contained in:
divlo
2021-06-24 22:04:28 +02:00
parent 677a55a9d8
commit 719058b2ff
8 changed files with 52 additions and 1 deletions

View File

@ -0,0 +1,3 @@
# hello-world/cs/function
Created by [@Divlo](https://github.com/Divlo) on 24 June 2021.

View File

@ -0,0 +1,15 @@
namespace Solution
{
class Program
{
static void Main()
{
string line;
while ((line = System.Console.ReadLine()) != null)
{
System.Console.WriteLine($"Hello, {line}!");
}
}
}
}

View File

@ -0,0 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
</Project>