praeclarum / FuGetGallery

An alternative web UI for browsing nuget packages
https://www.fuget.org
MIT License
683 stars 121 forks source link

Use C# 9 top-level statements #148

Closed bgrainger closed 3 years ago

bgrainger commented 3 years ago

Now that the project is targeting .NET 5, C# 9.0 features can begin to be used.

I thought a nice one to clean up some unnecessary boilerplate is the top-level statements feature.

praeclarum commented 3 years ago

C# 9 goodness thank you! I'm excited to get some null reference annotations in there.