dotnet-presentations / blazor-workshop

Blazor workshop
https://aka.ms/blazorworkshop
MIT License
3.49k stars 1.55k forks source link

Use Top-level statement instead of Main to avoid confusion #334

Closed dotnetspark closed 2 years ago

dotnetspark commented 2 years ago

When going through Refactor-State-Management, I found the code snippet for the Main method in Program.cs is not using Top-level statements while the code in src does. My suggestion is, modify the code snippet to match what Program.cs has.