C#C
C#3y ago
10 replies
Izagawd

✅ public static async Task Main instead of public static void Main for dsharpplus setup?

In tutorials I see that they use void, and they call an async method using GetAwaiter().GetResult(). why not just use async Task Main instead? would there be some issues or something?
Was this page helpful?