DEV Community

AmnaAbd
AmnaAbd

Posted on

Small .Net 6 Improvement

Nice small improvement for ArgumentNullException in .NET 6.

No need to check for null in every method before throwing an exception.

Now it is a one-liner. 🙌

image

dotnet6 #coding #devcommunity

Top comments (0)