Skip to content

OOP in C#

Easy to follow step by step practice courses where you learn the OOP principles (encapsulation, polymorphism, abstraction, inheritance) on how to implement them in C#. You will learn how to use classes, fields/attributes, properties, constructors, constructor chaining, abstract classes, interfaces, methods, static/non-static, const, type checking, casting, file IO, database access, ... You will also see lots of UML diagrams and how that translates to code and vice-versa how to visualize and design code by using UML.

Both start from scratch and work towards a full implemented UML class diagram domain (Geometry and Company). Geometry is more detailed and has more guidance and ideal to start with. With Company you have to think more, and less in between steps are given. Ideal to test yourself on the OOP principles and C# topics. Both have the same structure and build up, so you should be able to apply your learnings from Geometry assignment to Company.

I recommend using extra sources to lookup additional information on C# topics. Good sources are:
- Tutorials Point
- CSharp Tutorial
- Solo Learn
- C# .NET Documentation

Even more C# basics tutorials can be found:
- Basics of C# - Live screen recordings (audio in Dutch only)
- Brackeys
- Derek Banas

You can leave feedback on these 2 courses by sending an email or a DM in Teams to Jan Oonk.

Assignments

Assignment Description Start Last updated on
Geometry Entry-level OOP with shapes (Circle, Rectangle, Point). More elaborate step-by-step instructions. Complete 1.1 Summary 2026-03-25
Company OOP with company domain (Person, Employee, Department). Reader thinks more independently. Complete 1 Person class and constructors 2026-03-25

Conventions

  • Language: English (translated from Dutch)
  • Code: C# (translated from Java but following C# Coding Standards)
  • Standards: C# Coding Standards