mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-26 07:58:12 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
23 lines
356 B
C#
23 lines
356 B
C#
using System.IO;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace TestPackage;
|
|
|
|
public class Program : TestCompiler.IProgram
|
|
{
|
|
public int Main( StringWriter output )
|
|
{
|
|
|
|
AsyncMethod( output ).Wait();
|
|
return 0;
|
|
}
|
|
|
|
public async Task AsyncMethod( StringWriter output )
|
|
{
|
|
await Task.CompletedTask;
|
|
|
|
output.Write( "Hello Blorld!" );
|
|
}
|
|
}
|