Object-oriented programming in C# .NET

C# .NET OOP

Introduction to object-oriented programming in C# .NET

Lesson 1 - Introduction to object-oriented programming in C# .NET

In this tutorial, we'll introduce object-oriented programming, explain it's historical origins as well as terms such as classes, attributes, and methods.
FreeWritten by David Capka
First object-oriented application in C# - Hello object world

Lesson 2 - First object-oriented application in C# - Hello object world

In this tutorial we'll create our first object-oriented app in C# .NET - Hello object world. We'll create classes, attributes and parametrized methods.
FreeWritten by David Capka
Exercises for OOP in C# .NET lesson 1-2

Exercises for OOP in C# .NET lesson 1-2

Solved programmer tasks in C# .NET on the basics of object-oriented programming. Tasks are ordered by difficulty. Solutions are available for download.
PremiumWritten by David Capka
RollingDie in C# .NET - Constructors and random numbers

Lesson 3 - RollingDie in C# .NET - Constructors and random numbers

In this tutorial, we'll learn how to use constructors and random number generators. We'll program a rolling die in C# .NET, as the first part of our arena.
FreeWritten by David Capka
Exercises for OOP in C# .NET lesson 3

Exercises for OOP in C# .NET lesson 3

Solved programmer tasks in C# .NET on constructors, encapsulation, and "Random". Tasks are ordered by difficulty. Solutions are available for download.
PremiumUnratedWritten by David Capka
Reference and value data types in C# .NET

Lesson 4 - Reference and value data types in C# .NET

In this tutorial, we'll explain in detail how C# .NET works with references (objects) and value data types in memory.
FreeWritten by David Capka
Exercises for OOP in C# .NET lesson 4

Exercises for OOP in C# .NET lesson 4

Solved programmer tasks in C# .NET on object references and the null value. Tasks are ordered by difficulty. Solutions are available for download.
PremiumUnratedWritten by David Capka
Warrior for the arena in C# .NET

Lesson 5 - Warrior for the arena in C# .NET

In this C# .NET tutorial, we'll create a warrior object (class). Its instances will battle in the arena next time.
FreeWritten by David Capka
Arena with warriors in C# .NET

Lesson 6 - Arena with warriors in C# .NET

In this tutorial, we'll finish our arena with warriors. As a result, we'll have an object-oriented application simulating a board game.
FreeWritten by David Capka
Inheritance and polymorphism in C# .NET

Lesson 7 - Inheritance and polymorphism in C# .NET

In this tutorial, we'll go over object inheritance and polymorphism. We'll learn how to reuse code and explain what the protected access modifier is.
FreeWritten by David Capka
Arena with a mage in C# .NET (inheritance and polymorphism)

Lesson 8 - Arena with a mage in C# .NET (inheritance and polymorphism)

In this C# .NET lesson, you'll learn how to call base constructors, override methods and put what you know about inheritance and polymorphism to the test.
FreeWritten by David Capka
Exercises for OOP in C# .NET lessons 5-8

Exercises for OOP in C# .NET lessons 5-8

Solved programmer tasks in C# .NET on inheritance and polymorphism. Tasks are ordered by difficulty. Solutions are available for download.
PremiumUnratedWritten by David Capka
Static class members in C# .NET

Lesson 9 - Static class members in C# .NET

In this C# lesson, we'll learn how to use static fields, methods, and constructors. We'll even get to create our own static class - a static registry.
FreeWritten by David Capka
Exercises for OOP in C# .NET lesson 9

Exercises for OOP in C# .NET lesson 9

Solved programmer tasks in C# .NET on static attributes and methods. Tasks are ordered by difficulty. Solutions are available for download.
PremiumUnratedWritten by David Capka
Properties in C# .NET

Lesson 10 - Properties in C# .NET

In this C# .NET tutorial, we'll introduce properties (auto-implemented getters and setters) that will provide better object encapsulation.
FreeWritten by David Capka
Date and time in C# .NET

Lesson 11 - Date and time in C# .NET

In this tutorial, we'll learn how to work with date and time in C# .NET. We'll discover new DateTime and TimeSpan classes. We'll create some sample apps.
FreeWritten by David Capka
Exercises for OOP in C# .NET lesson 11

Exercises for OOP in C# .NET lesson 11

Solved programmer tasks in C# .NET on the topic of date and time. Tasks are ordered by difficulty. Solutions are available for download.
PremiumWritten by David Capka
Lists in C# .NET

Lesson 12 - Lists in C# .NET

This tutorial introduces the List collection in C# .NET into which we can easily add and remove items. We'll create a sample app and cover some methods.
FreeWritten by David Capka
Diary with a database in C# .NET

Lesson 13 - Diary with a database in C# .NET

In this tutorial, we'll create an electronic diary with a database using the List collection. It'll be able to add, remove and search entries.
FreeWritten by David Capka
Exercises for OOP in C# .NET lessons 12-13

Exercises for OOP in C# .NET lessons 12-13

Solved programmer tasks in C# .NET on the topic of List collections. Tasks are ordered by difficulty. Solutions are available for download.
PremiumWritten by David Capka
Interfaces in C# .NET

Lesson 14 - Interfaces in C# .NET

In this tutorial you'll learn about interfaces, how to auto-implement them with Visual Studio, and how to replace multiple inheritances with them.
FreeWritten by David Capka
Type casting and object hierarchy in C# .NET

Lesson 15 - Type casting and object hierarchy in C# .NET

You'll learn how to cast an instance to another data type using interfaces. You will also learn about and create an object hierarchy.
PremiumWritten by David Capka
Abstract class, comparing and operator overloading

Lesson 16 - Abstract class, comparing and operator overloading

This tutorial explains abstract classes in C# .NET. You'll learn about interfaces, implement your own, compare with IComparable, and overload operators.
PremiumWritten by David Capka
Exercises for OOP in C# .NET lessons 14-16

Exercises for OOP in C# .NET lessons 14-16

Solved programmer tasks in C# on interfaces, abstract classes, and operators. Tasks are ordered by difficulty. Solutions are available for download.
Premium IIUnratedWritten by David Capka
Indexers, Equals, constants, enumerated types and flags

Lesson 17 - Indexers, Equals, constants, enumerated types and flags

This tutorial is about indexer overloading, the Equals method as well as the == operator, constants, enumerated types (enums) and flags.
PremiumWritten by David Capka
Delegates, anonymous methods and lambda expressions in C#

Lesson 18 - Delegates, anonymous methods and lambda expressions in C#

In this lesson, you will learn about delegates in C# .NET, learn how to define anonymous methods and work with lambda expressions.
PremiumWritten by David Capka
Exercises for OOP in C# .NET lessons 17-18

Exercises for OOP in C# .NET lessons 17-18

Solved programmer tasks in C# .NET on the topics of enums, indexers and delegates. Tasks are ordered by difficulty. Solutions are available for download.
Premium IIWritten by David Capka
Events in C# .NET

Lesson 19 - Events in C# .NET

In this tutorial, we'll introduce events and the EventHandler delegate. As an example, we will have a listener react to instance changes.
PremiumWritten by David Capka
Exercises for OOP in C# .NET lesson 19

Exercises for OOP in C# .NET lesson 19

Solved programmer tasks in C# .NET on the topic of declaring and inheriting events. Tasks are ordered by difficulty. Solutions are available for download.
Premium IIUnratedWritten by David Capka
Structures, boxing, partial members and methods in detail

Lesson 20 - Structures, boxing, partial members and methods in detail

In this tutorial, we'll discuss structures, boxing, partial members, and methods in detail in C# .NET.
PremiumWritten by David Capka
Nullable types, cloning, attributes, destructor and more

Lesson 21 - Nullable types, cloning, attributes, destructor and more

This tutorial is the last of the object-oriented programming in C# .NET course. We'll discuss nullable types, cloning, attributes, destructors and more.
PremiumWritten by David Capka
Online object-oriented programming in C#.NET quiz

Online object-oriented programming in C#.NET quiz

Test yourself online! Results of the C# .NET OOP knowledge quiz, table of the best network members.
FreeUnratedWritten by David Capka


 

Activities (5)