Skip to content

Commit 5b622a6

Browse files
committed
feat(C# examples) To be used by the tests.
1 parent 037f7eb commit 5b622a6

File tree

6 files changed

+58
-0
lines changed

6 files changed

+58
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using System;
2+
3+
class Helper
4+
{
5+
public static void PrintHello()
6+
{
7+
Console.WriteLine("Hello, World!");
8+
}
9+
}
10+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
using System;
2+
3+
class Program
4+
{
5+
static void Main()
6+
{
7+
Helper.PrintHello();
8+
}
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net7.0</TargetFramework>
5+
<OutputPath>bin</OutputPath>
6+
<OutputName>Program</OutputName>
7+
<OutputType>exe</OutputType>
8+
</PropertyGroup>
9+
10+
</Project>
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using System;
2+
3+
class Helper
4+
{
5+
public static void PrintHello()
6+
{
7+
Console.WriteLine("Hello, World!");
8+
}
9+
}
10+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
using System;
2+
3+
class Program
4+
{
5+
static void Main()
6+
{
7+
Helper.PrintHello();
8+
}
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net7.0</TargetFramework>
5+
<OutputPath>bin</OutputPath>
6+
<OutputName>Program</OutputName>
7+
<OutputType>exe</OutputType>
8+
</PropertyGroup>
9+
10+
</Project>

0 commit comments

Comments
 (0)