Recently, on the previous lesson, we learned what object-oriented programming is, what are classes and objects, today you will learn what fields and properties are, that is, so we will learn one of the principles of object-oriented programming, data encapsulation, but this is end of the introduction 🙂
Recently we have learnt the basics, it’s time for real object programming.
In the previous lesson we learn using loops, now we will learn how to save bigger numbers variables, if is a lot of variables, we can save it like this:
Today we will learn to use loops in C # there are four types of loops there is one kind of loop that does not have C ++ or C but we will get to this today 🙂
In the previous lesson, we learned about operators, today we will learn how to use conditional instructions, but if you used any languages from the C family then you can skip this lesson here you will not find anything new here.
In the previous lesson, we learned what data types are today, we will learn to add them, multiply etc., in other words do something with them
In variables and constants we store some data on which we can work, but as the name suggests, they differ in that the variables can be changed and the constants no longer.