I am programming C# in Visual Studio Code with .NET 6. In .NET 6, an explicit main method is no longer necessary. Does anyone know how and where to include using directives like using System.Diagnostics
?
This is what my program currently looks like:
await MeakeBreakfastAsync();
async Task MakeBreakfastAsync(){
...
}
static async Task<string> MakeCoffeAsync() {
...
}
static async Task<string> MakeToastAsync() {
...
}