feat(languages): add C# support

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

No files matched your search

@@ -0,0 +1,3 @@
# hello-world/cs/function
Created by [@Divlo](https://github.com/Divlo) on 24 June 2021.
@@ -0,0 +1,15 @@
namespace Solution
{
class Program
{
static void Main()
{
string line;
while ((line = System.Console.ReadLine()) != null)
{
System.Console.WriteLine($"Hello, {line}!");
}
}
}
}
@@ -0,0 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
</Project>