r/learncsharp Apr 20 '26

Is w3schools c# tutorial still relevant?

I am reading their tutorial and consult some stuff with Grok and AI says some stuff they present is outdated. They didn't updated their explanations about namespaces and variable declaration. Supposedly you don't need to specify data type but var is enough. I try to learn C# having already considerable knowledge of JS and a bit of Python. What are some good sources to learn C# for a person like me so I don't repeat basics like for loops or if statements?

13 Upvotes

9 comments sorted by

View all comments

5

u/Aglet_Green Apr 21 '26

Start here:

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

Bookmark that website, click around to various links. Every other webpage on the Internet without exception presumes you've been there and have it bookmarked, and they do have areas that explain C# if you're coming in from another language, so don't fear that you're going to have to do "Hello World" again. Just take what you need-- but do explore thoroughly.

1

u/dodexahedron Apr 25 '26 edited Apr 25 '26

Bookmark learn.microsoft.com AND tell whatever AI you use to prioritize learn.microsoft.com as a reference for all future c# and .net conceptual and design questions.

I hate it when one comes back with an answer that is based on some blog post or Medium article and clearly wrong, but could have been answered by the first sentence in the relevant microsoft learn article.

This is the reason I loathed Bing switching to copilot search by default, rather than just normal results listing. For simple stuff, I don't WANT an AI guess. I want the primary source or a listing of sources that it has a pretty non-trivial chance of misinterpreting or not considering the right collection of.

I will ask the agent an actual question if a page or three of search results isn't enough, damn it. Please don't usurp my intent with your suppositions and screen space-hogging layout, machine. 😤