
Create a point class with x and y integer properties using the class keyword, define public properties, instantiate the class with new, and assign values to X and Y.
Learn how fields are private and exposed via public properties with getters and setters, using PascalCase property names, camelCase fields, and the value keyword for validation and encapsulation.
Implement a username and password property in a C# class, adding validation logic that enforces a 4–10 character username and numeric passwords, while hiding fields.
Learn how const and readonly differ in C#, with examples of IDs and a height constant of 108, and adopt naming conventions like all caps with underscores for constants.
Design a warrior class in C# by implementing a constructor, using this for disambiguation, and initializing name, life, weapon, armor, and health via a good and bad faction switch.
Print attack results to the console, showing who attacked whom and the damage, with colored output, and refactor into a static helper that handles the result logic.
This course will lay the foundations of Object Oriented Programming (OOP) in your mind, allowing you to progress to more complex, systematic and cleaner Programming methods.
The course is aimed at students who have at least some coding experience, preferably with C# (but Java or any other similar language is also acceptable).
In the course you will learn:
At the end, we will create a project to practice everything that we have learned in the course, by using a clean and systematic way.
We are going to ask ourselves a series of questions and we will answer them with code, this will produce a beautifully written high quality code, that you will fall in love with.