8c17d2b7fc
* Added 'async Main' helloworld example. * Removed conditions in property groups. * Mark project as C# 7.1 explicit. * Tabify .cs file. * Corrected tabs.
13 lines
No EOL
214 B
C#
13 lines
No EOL
214 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HelloWorldSample
|
|
{
|
|
public static class Program
|
|
{
|
|
public static async Task Main()
|
|
{
|
|
await Task.Run(() => Console.WriteLine("Hello World!"));
|
|
}
|
|
}
|
|
} |