- This course will introduce you to the Basics of OOP with C#, followed by a Project to Practice – Warrior Wars!
- Free tutorial
- Rating: 4.4 out of 54.4 (5,984 ratings)
- 105,937 students
- 1hr 35min of on-demand video
- Created by Tod Vachev
English
What you’ll learn
- Basic Concepts of Object Oriented Programming with C# (but the concepts apply to most languages)
- Namespaces
- Fields & Properties
- Const and Readonly constants
- Static Fields
- Static Classes (Singleton)
- Enumerations
Requirements
- You should have some coding experience prior to taking this course!
- Visual Studio Installed on your PC
- Some experience with C#
Description
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:
- What is an object and a class
- What is object oriented programming
- Class Constructors
- Namespaces
- Should you or should you not use the “this” keyword
- Fields and Properties
- Different ways in which Properties can be used
- Const and Readonly constants, the difference between them and how to use them
- Static Fields and Static (Singleton) Classes
- Enumerations
- And more…
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.
Who this course is for:
- Anyone who wants to upgrade their knowledge and move on to the next level after the basics
- Anyone who wants to refresh their knowledge about Object Oriented Programming
- Anyone who has interest in the field
Show less
Course content
7 sections • 22 lectures • 1h 40m total lengthCollapse all sections
Introduction2 lectures • 6min
- Brief Introduction to the Course01:39
- What is Object Oriented Programming and Why Do We Need It?04:25
Basic Class Construction in C#4 lectures • 15min
- Creating a Basic Object (Class) in C#03:00
- Structuring The Files in Our Project – NamespacesPreview03:07
- Constructing a Class – What is The Purpose of Constructors?04:24
- The “this” Keyword, Why and When You Should Use It04:27
Fields and Properties in C#3 lectures • 13min
- Fields and Properties – The Variables of a Class and The Difference Between Them05:08
- Validation Implementation in a Property05:00
- Read-Only, Write-Only and Read-Write Properties02:58
Types of Fields in a Class2 lectures • 9min
- Static Fields And Their Purpose02:52
- Constants in C# – Const and ReadOnly and The Difference Between Them06:17
Enumerations and Static Classes2 lectures • 13min
- Enumerations – Limit The Input Options To Defend Your Code07:06
- Static Class (Singleton Design Pattern) And What You Can Do With It06:16
Object Oriented Programming Basics – Project and Practice7 lectures • 39min
- Warrior Wars Project – Introduction to The Project01:31
- What Is It That Defines Our Warriors? (The Fields in Our Warriors)05:11
- Which of The Fields Should be Accessible? (Properties and Namespaces)05:33
- What is a MUST for a Warrior? (Creating our Constructors)06:28
- What Should Never Change? (Defining our Constants)05:32
- What Is It That Warriors Can Do? (Implementing Attack Method)07:58
- And What is The Result of The Attack?06:37
BONUS Section: Warrior Wars Source Code and Discounts2 lectures • 5min
- Warrior Wars Source Code00:03
- Bonus Lecture – Advanced OOP and My Other Courses with Huge Discount!04:55