.NET 5

Posts 12 of 2 · Page 1 of 1
.NET 5
.NET 5 is the new version of the .NET CORE and a new fork for Microsoft dotnet framework and dotnet core.
dot net framework will soon be deprecated, but we will still can use it for a good period of time.
The .Net 5 was planned a long time ago and maybe with the introduction of the very first version of the .net core
In its current release, it still far from being mature if MS wants to discontinue the dotnet framrwork.
We can't sacrifice the donet framework to favor the .net 5, at least for now.
Many abilities and features are still missing and we are waiting to be introduced within the next releases.
There is released .NET 6 with alot of features as well!

For example, how to check if object is null or not null.

You could check it like this:

Code:
if(myObject is null) { ... }
But if you want to check if its not null, in past, that was a little ugly:
Code:
if(!(myObject is null)) {...}
But, in .NET 6, you can use it in such way now:
Code:
if(myObject is not null) { ... }
Posts 12 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?