I'm new to .net
Hello, I have just entered the .net world, I started learning .net 6.0, but .net 8.0 is coming out, would I be making a mistake by learning 6.0?
27 Replies
.NET 8 has been out for almost a year. There is absolutely no reason to specifically learn .NET 6 at this point
.NET comes out with a new major version every november. Even releases (6, 8, 10) are long-term-support versions, while odd are short term.
Also 6 goes out of support in November.
But I enrolled in a course and they are teaching .net 6.0 there.
Nothing major has changed, there’s just new additions.
Silly of them, but okay. There isnt much difference between 6 and 8 thou
You could probably do course verbatim on 8 and not notice a difference, tbh.
Thank you , This course will last until May. Will it be a problem if the 6.0 support ends?
not for you
99% of .net 6 codebases can be upgraded to 8 with no difficulties at all
it being out of support doesnt affect the language itself, only the ability to get bugfixes in .NET 6 released
Thank you , What exactly happens when support ends? Can't .net 6.0 be used anymore?
its just that bugs wont be fixed in the .NET 6 runtime, unless deemed critical
the solution is simply to upgrade to .NET 8, which again is literally a single line changed in a single file, for most projects
Not even critical bugs, afaik.
i.e. in .net 8.0 environment. Are you saying that I should code in net 6.0 syntax ?
these are not two different languages
they are the same, with very minor additions
.net is the runtime, c# is the language
I understand, thank you for everything
I'm learning for backend. I'm a computer science student. Do you have any advice on how to learn .NET?
the same way you learn every other programming language.
docs, exercies, then projects
learn by doing, reinforce your learning by doing it more
dont skimp on the fundamentals, they must be solid
dont understimate the power of just practicing something in a tiny console app
Thank you. What are the job opportunities? Is there a possibility of being unemployed?
I'm sorry I'm asking for everything, I really thank you.
I don't think it was mentioned
But .NET doesn't have breaking changes
If they do, they definitely won't affect you
You can totally follow that tutorial, and instead do it in a .NET 8 project
The only think you should make sure is you don't follow tutorials that target .NET Framework. This version IS different. Don't confuse yourself too much with the reason why and just try avoiding it.
You can go as far back as .NET Core 3.0 before you will start finding breaking changes, I believe?
This was released in like 2018?
C# is one of the top languages for businesses, so there are plenty of job opportunities. There is however ofc a possbility of being unemployed, the general state of the economy is pretty grim right now
https://en.wikipedia.org/wiki/.NET
.NET Core 1.0 was released in 2016
I think you can even follow tutorials from that if you want, and not have many issues
Obviously this also requires any libraries to not change significantly
I'd say .NET 5 or above
avoid .NET Core 1-2-3 materials, as it will be a bit too outdated
You're best off sticking as close as possible to the target version, obviously. But make sure you keep projects up to date to avoid any security issues
the core language concepts are the same, but the BCL did change quite a bit since then
Right
I was afraid to start .net because I think it's always changing.
Thats a good thing
and also, the changes are generally very minor
but the fact that C# and .NET changes yearly means its always keeping up with modern demands and trends. We get new language features and can write more ergonomic code
Yes, you are right, thank you to everyone who replied.🙂