Discount week - October
Save up to 80 % on our C and C++ e-learning courses. Only this week!
Get up to 50 % extra points for free! More info

Object-Oriented Programming in C# .NET

Learn the object-oriented programming in C# .NET from the first object-oriented app to advanced .NET framework structures in this online course.

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.
Written by David Capka
Free Show description
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.
Written by David Capka
Free Show description
Solved tasks for OOP in C# .NET lesson 1-2

Exercise

Solved tasks 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.
Written by David Capka
PRO Show description
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.
Written by David Capka
Free Show description
Solved tasks for OOP in C# .NET lesson 3

Exercise

Solved tasks 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.
Written by David Capka
PROUnrated Show description
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.
Written by David Capka
Free Show description
Solved tasks for OOP in C# .NET lesson 4

Exercise

Solved tasks 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.
Written by David Capka
PROUnrated Show description
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.
Written by David Capka
Free Show description
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.
Written by David Capka
Free Show description
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.
Written by David Capka
Free Show description
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.
Written by David Capka
Free Show description
Solved tasks for OOP in C# .NET lessons 5-8

Exercise

Solved tasks 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.
Written by David Capka
PROUnrated Show description
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.
Written by David Capka
Free Show description
Solved tasks for OOP in C# .NET lesson 9

Exercise

Solved tasks 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.
Written by David Capka
PROUnrated Show description
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.
Written by David Capka
Free Show description
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.
Written by David Capka
Free Show description
Solved tasks for OOP in C# .NET lesson 11

Exercise

Solved tasks 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.
Written by David Capka
PRO Show description
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.
Written by David Capka
Free Show description
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.
Written by David Capka
Free Show description
Solved tasks for OOP in C# .NET lessons 12-13

Exercise

Solved tasks 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.
Written by David Capka
PRO Show description
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.
Written by David Capka
Free Show description
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.
Written by David Capka
PRO Show description
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 comparing with IComparable, and overload operators.
Written by David Capka
PRO Show description
Solved tasks for OOP in C# .NET lessons 14-16

Exercise

Solved tasks 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.
Written by David Capka
PROUnrated Show description
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.
Written by David Capka
PRO Show description
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.
Written by David Capka
PRO Show description
Solved tasks for OOP in C# .NET lessons 17-18

Exercise

Solved tasks 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.
Written by David Capka
PRO Show description
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.
Written by David Capka
PRO Show description
Solved tasks for OOP in C# .NET lesson 19

Exercise

Solved tasks 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.
Written by David Capka
PROUnrated Show description
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.
Written by David Capka
PRO Show description
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.
Written by David Capka
PRO Show description
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.
Written by David Capka
FreeUnrated Show description
C# .NET Community Projects - Object-Oriented Programming

C# .NET Community Projects - Object-Oriented Programming

Section 7 Items

A collection of C# .NET OOP apps with source codes from local programmers. Sources are not verified as in the courses and their quality may vary.
Show description


 

Activities (11)