thanhle0212/FindPrimeNumbers

Async Main

Closed this issue · 1 comments

Actually, since one of the latest versions you can write async code in Main.

public static async Task Main(string[] args)

Make sure you are targeting the latest C# language version.

Ahh, thank you, bro! You're correct.

Since C# 7.1, we could use Async in Main - I've just double-checked. Let me update the source code accordingly.

Thank you again!