Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
nyjan10788yTry reading up on MSDN or dotnetpearls if you have questions about specific things, those are some great resources with good examples.
You might also sign up for Microsoft Imagine (formerly DreamSpark) to get free access to their courses which might prove very useful!
Good luck! =) -
I like to think of classes as mega groups of functions, and because they all work together they can do more powerful things.
-
For types, you have to think of the whole object and then the separate parts. For example, you could have a Car class, with a property of door, window, and steering wheel. The class contains the items that make up the thing it's representing (a person, an order, etc.). when you do something like var citroen = new Car();, it creates a variable that has the instantiated properties of Car. So you then have citroen.door as well as Car.door, but you can only access the property in a variable (unless it's static but that's something else). Once you get the hang of it, it'll become second nature.
new Message("Welcome to DevRant!").Send(To: "OP");
Currently learning programming (c#) and I can't wrap my head around classes can anyone give me some tips?
undefined