What's the best approach to learn c# and .NET for java dev?

3 years ago by monke hashira to c/programming

I've been a Java developer for the last 3 years. I'm good with Spring boot, Java, intermediate topics, etc. Now my new job requires me to learn c#, .net tech stack. What's the best way to learn it fast and well so i can be productive soon?

Raf 4 points 3 years ago

I honestly just winged it. I came from C++ so you're in a much better position to learn .NET than I was. There's little need to get into the syntax. You can pretty much just wing it. It's just OOP after all. You could probably look for some crash courses so that you can speedrun the language differences but other than that, you'll do just fine using the official documentation.

Microsoft has free resources for their frameworks.

https://dotnet.microsoft.com/en-us/learn

path: 0 80675, hotness: undefined, score: 4, children: 0
pampoon 3 points 3 years ago

I can’t speak to the specifics of transferring from Java to C#, but as someone who recently had to re-learn/catch up on it and Dotnet for a job transition I can say what helped me after not touching it for nearly a decade.

I found a few people on YouTube that did project walkthroughs, and I followed along with them and built out their examples. I used C# 10 In A Nutshell as a reference when I felt I needed to dig deep on the various things the videos touched on or that I knew I’d be needing for the code base I was inheriting. I was preferential to Tim Corey, mostly because a lot of his videos felt up-to-date with the latest technologies and were easy to follow. He also has courses designed to be a boot camp for getting up to speed, I believe, on his website if that is an option for you.

path: 0 60861, hotness: undefined, score: 3, children: 0
crmsnbleyd 2 points 3 years ago

Not an answer, but I've never had cause to learn anything about .NET (F# looks good though, i guess) and I hope that continues

path: 0 60485, hotness: undefined, score: 2, children: 1
Raf 3 points 3 years ago

The main reason to get into .NET is if you've started working for an employer that uses the Microsoft ecosystem.

path: 0 60485 80606, hotness: undefined, score: 3, children: 0
mercan 1 point 3 years ago

It’s very similar. I’d say learn syntax differences and read/watch some basic tutorials and the rest you’ll learn along the way.

path: 0 65409, hotness: undefined, score: 1, children: 0
Lerke 1 point 3 years ago

You seem to already know what you are doing and have experience with Spring Boot. I'm not sure if you're looking into also developing web applications for .NET, but have a look at the official ASP.NET Core documentation. There's a whole lot to be found there, and examples on how to develop different types of applications. Go through one or more you are already familiar with, and you'll find the .NET ecosystem and the C# language really isn't that much different from Java. The language itself shares most of its paradigms with Java, and even syntactically it is very similar.

path: 0 275593, hotness: undefined, score: 1, children: 0
programming

@lemmy.ml

login for more options
10032
533
162

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

go to feed...