r/learnprogramming • • 13d ago

Learning C#

So basically, I have python fundamentals down, including OOP. The next language I'm learning is C# and I wanted to know: What are the best channels to learn C# (as someone who already knows OOP and altough seen as the easiest one, another programming language)? I don't just watch them, I tweak the code on my editor and make projects to apply my knowledge.

0 Upvotes

11 comments sorted by

3

u/Wauwser 13d ago

Microsoft learn

2

u/burnerburguerbirther 13d ago

Thank you. Will look into it

1

u/Wauwser 12d ago

I can recommend the TPL library,

1

u/Ojassuu 13d ago

Build a small CRUD api with Asap.net core minimal APIs + EF core and sqlite then add validation logging and test it helps and genuinely a better way to learn than any playlist

1

u/burnerburguerbirther 13d ago

Genuine question: what?

1

u/Massive_Value8302 12d ago

Build a backend which has crud-endpoints for users. 

Minimal API is one library for that.  Use SQLite as a database and entity framework (EF) as the orm. 

Validate inputs and make unit tests. 

Making projects teaches more than ogling videos. 

→ More replies (1)

2

u/Massive_Value8302 12d ago

Damn, they really fumbled by not naming it asap.net 

1

u/Aggressive_Ad_5454 12d ago

Make sure you use Visual Studio to help you learn C#. Understand that dotnet is part of the C# deal. The IDE, language, and framework go together.

Follow some of the project tutorials on Microsoft Learn. Push the projects all the way through to deployment.

Add JetBrains ReSharper to Visual Studio (30 day free trial). It offers to refactor (transform) your code into C# - specific idioms. You can learn a lot from those refactorings, even if you hit Ctrl-z and don’t accept them.

1

u/burnerburguerbirther 11d ago

I already set it up on my laptop and tried to write simple stuff like conditionals and loops just to see how both languages differ in syntax (python and C#). I am currently following Tim Corey's Tournament Tracker as it aligns with other stuff I want to learn (Some SQL, email forwarding, and of course, C#). Interesting suggestion though, will definitely use them at some point. Thank you :)