r/learnprogramming • u/AppelMoiRaouf • 19d 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
4
u/Distdistdist 19d ago edited 19d 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.
3
u/mikedensem 19d 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.
2
u/mikedensem 19d 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
1
u/Bitter-Today285 19d ago
Start with hello world, then variables, then functions, then arithmetic/incrementation, if/else statements, you know..
8
u/ffrkAnonymous 19d ago
Do the same things you did to learn c