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:
15
templates/solution/cs/Solution.cs
Normal file
15
templates/solution/cs/Solution.cs
Normal 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}!");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
6
templates/solution/cs/cs.csproj
Normal file
6
templates/solution/cs/cs.csproj
Normal file
@ -0,0 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
</Project>
|
Reference in New Issue
Block a user