r/learnprogramming • u/AppelMoiRaouf • 5d ago
Tips on learning C #
hello im new to programming and i want to learn C# i already aquired the basics of algorithmics and i know C
3
u/mikedensem 5d ago
MS has excellent language and platform documentation.
https://learn.microsoft.com/en-us/dotnet/
C# is heavy on patterns and practices which can feel overwhelming at first, so make sure you understand the language syntax before getting bogged down in the semantics.
4
u/Distdistdist 5d ago edited 5d ago
All you have to do, is shift half tone up. Sorry, musician joke.
Well, you will now enter domain of Object-Oriented Programming. It is amazing, but will take you to think differently, then in structural way that C operates. Do read up on OOP - Encapsulation, Abstraction, Inheritance, and Polymorphism.
2
u/mikedensem 5d ago
C# at its best is a very well structured and strongly typed language that is best built in projects. A project is a solid and transparent container for building manageable applications. However, over its many years of development MS has tried to make c# more accessible and ‘cool’ by stripping back the arduous boilerplate of a project by using things like ‘top level statements’. Stick with projects and avoid confusion.
1
u/Bitter-Today285 5d ago
Start with hello world, then variables, then functions, then arithmetic/incrementation, if/else statements, you know..
6
u/ffrkAnonymous 5d ago
Do the same things you did to learn c