Fix some small issues and experiment with C#

This commit is contained in:
Dimitris Zervas
2024-02-27 03:01:29 +02:00
parent 62e98de539
commit a89850d410
16 changed files with 287 additions and 37 deletions

View File

@ -0,0 +1,11 @@
using System;
namespace OtherNamespace {
public class OtherClass {
// This method will be called by native code inside the target process…
public static int OtherMethod() {
System.Console.WriteLine("Goodbye World from C#");
return 1;
}
}
}

View File

@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<OutputType>Library</OutputType>
<RootNamespace>OtherNamespace</RootNamespace>
</PropertyGroup>
</Project>