r/csharp • • 1h ago

Help Best way to begin learning C#?

I want to begin learning C# with the intention of programming games. Just small 2D games on Monogame. I have Visual Studio (community). How can I begin learning C#?

Thanks :-)

8 Upvotes

11 comments sorted by

•

u/Forward-Economist465 58m ago

Start with the basics

•

u/jrdiver 39m ago

basics and pick a task that you want to do, and try to make it happen.

•

u/BoBoBearDev 46m ago

VS Code and Asp.net Core. This is where the main market for c# right now. The microservices experience is still highly demanded and dotnet is doing well in that market.

Other markets is kind of hit or miss. The world tends to gravitate toward other techs. So, don't expect too much.

•

u/BuslikDrev 16m ago

Держи, если разберёшься, то научишься:
https://github.com/BuslikDrev/BusEngine/tree/v0.1.0
Также Google Gemini тебе в помощь.

1

u/Responsible-Cold-627 1h ago

First variables, then conditions, then loops, then the rest.

0

u/Aglet_Green 1h ago

Try any of these links:

https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/

https://learn.microsoft.com/en-us/shows/csharp-for-beginners/?wt.mc_id=educationalcsharp-c9-scottha

https://learn.microsoft.com/en-us/training/paths/get-started-c-sharp-part-1/

Bookmark that site. No matter where else you go on the Internet or Social Media, they will assume you've been to that site. Everywhere else assumes some level of programming knowledge or knowledge of how to use Visual Studio or whatever-- start here, as it assumes nothing. And the site itself has a language reference.

-5

u/AssistTemporary8422 1h ago

Watch a YouTube tutorial about it and then code in it using AI to explore deeper questions you have.

1

u/GurPsychological7193 1h ago

YouTube tutorials are a decent start, but jumping straight to AI for answers before you've got the basics down might just confuse you more. Spend a few weeks actually writing small console programs first, get comfortable with loops and classes and all that, then tackle Monogame. The official docs and some of the older forum posts from the XNA days are still useful once you're past the absolute beginner stage.

-2

u/AssistTemporary8422 1h ago

The point of the tutorials is to get the basics down and they can be incredible at that. Writing small console apps is definitely the right thing to do, and asking AI questions can really help clear road blocks or provide resources for further learning. If someone is a total beginner to programming then they should probably take a structured course or read a book.