Front-end week
Save up to 80 % on our HTML/CSS and JavaScript e-learning courses. Only this week!
Get up to 80 % extra points for free! More info

Object-Oriented Programming in VB.NET

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

Introduction to object-oriented programming in VB.NET

Lesson 1

Introduction to object-oriented programming in VB.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 Michal Zurek
Free Show description
First object-oriented application in VB - Hello object world

Lesson 2

First object-oriented application in VB - Hello object world

In this tutorial we'll create our first object-oriented app in VB.NET - Hello object world. We'll create classes, fields and parametrized methods.
Written by Michal Zurek
Free Show description
Solved tasks for OOP in VB .NET lesson 1-2

Exercise

Solved tasks for OOP in VB .NET lesson 1-2

Solved programmer tasks in VB .NET on the basics of object-oriented programming. Tasks are ordered by difficulty. Solutions are available for download.
Written by David Capka
PROUnrated Show description
RollingDie in VB.NET - Constructors and random numbers

Lesson 3

RollingDie in VB.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 VB.NET, as the first part of our arena.
Written by Michal Zurek
Free Show description
Solved tasks for OOP in VB .NET lesson 3

Exercise

Solved tasks for OOP in VB .NET lesson 3

Solved programmer tasks in VB .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 VB.NET

Lesson 4

Reference and value data types in VB.NET

In this tutorial, we'll explain in detail how Visual Basic .NET works with references (objects) and value data types in memory.
Written by Michal Zurek
Free Show description
Solved tasks for OOP in VB .NET lesson 4

Exercise

Solved tasks for OOP in VB .NET lesson 4

Solved programmer tasks in VB .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 VB.NET

Lesson 5

Warrior for the arena in VB.NET

In this Visual Basic .NET tutorial, we'll create a warrior object (class). Its instances will battle in the arena next time.
Written by Michal Zurek
Free Show description
Arena with warriors in VB.NET

Lesson 6

Arena with warriors in VB.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 Michal Zurek
Free Show description
Inheritance and polymorphism in VB.NET

Lesson 7

Inheritance and polymorphism in VB.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 Michal Zurek
Free Show description
Arena with a mage in VB.NET (inheritance and polymorphism)

Lesson 8

Arena with a mage in VB.NET (inheritance and polymorphism)

In this VB.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 Michal Zurek
Free Show description
Solved tasks for OOP in VB .NET lessons 5-8

Exercise

Solved tasks for OOP in VB .NET lessons 5-8

Solved programmer tasks in VB .NET on inheritance and polymorphism. Tasks are ordered by difficulty. Solutions are available for download.
Written by David Capka
PROUnrated Show description
Shared class members in VB.NET

Lesson 9

Shared class members in VB.NET

In this VB lesson, we'll learn how to use shared/static fields, methods, and constructors. We'll even get to create our own static class - a registry.
Written by Michal Zurek
Free Show description
Solved tasks for OOP in VB .NET lesson 9

Exercise

Solved tasks for OOP in VB .NET lesson 9

Solved programmer tasks in VB .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 VB.NET

Lesson 10

Properties in VB.NET

In this Visual Basic .NET tutorial, we'll introduce properties (auto-implemented getters and setters) that will provide better object encapsulation.
Written by Michal Zurek
Free Show description
Date and time in VB.NET

Lesson 11

Date and time in VB.NET

In this tutorial, we'll learn how to work with date and time in Visual Basic and discover new DateTime and TimeSpan classes. We'll create some sample apps.
Written by Michal Zurek
Free Show description
Solved tasks for OOP in VB .NET lesson 11

Exercise

Solved tasks for OOP in VB .NET lesson 11

Solved programmer tasks in VB .NET on the topic of date and time. Tasks are ordered by difficulty. Solutions are available for download.
Written by David Capka
PROUnrated Show description
Lists in VB.NET

Lesson 12

Lists in VB.NET

This tutorial introduces the List collection in VB.NET into which we can easily add and remove items. We'll create a sample app and cover some methods.
Written by Michal Zurek
Free Show description
Diary with a database in VB.NET

Lesson 13

Diary with a database in VB.NET

In this VB.NET 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 Michal Zurek
Free Show description
Solved tasks for OOP in VB .NET lessons 12-13

Exercise

Solved tasks for OOP in VB .NET lessons 12-13

Solved programmer tasks in VB .NET on the topic of List collections. Tasks are ordered by difficulty. Solutions are available for download.
Written by David Capka
PROUnrated Show description
Interfaces in VB.NET

Lesson 14

Interfaces in VB.NET

In this tutorial you'll learn about interfaces in Visual Basic, auto-implement them with Visual Studio, and how to replace multiple inheritances with them.
Written by Michal Zurek
Free Show description
Type casting and object hierarchy in VB.NET

Lesson 15

Type casting and object hierarchy in VB.NET

You'll learn how to cast an instance to another data type using interfaces in Visual Basic .NET. You will also learn about and create an object hierarchy.
Written by Michal Zurek
PRO Show description
Abstract class, comparing and operator overloading in VB.NET

Lesson 16

Abstract class, comparing and operator overloading in VB.NET

This tutorial explains abstract classes in Visual Basic. We'll learn about interfaces, implement custom comparing with IComparable, and overload operators.
Written by Michal Zurek
PRO Show description
Solved tasks for OOP in VB .NET lessons 14-16

Exercise

Solved tasks for OOP in VB .NET lessons 14-16

Solved programmer tasks in VB 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, enums and flags in VB.NET

Lesson 17

Indexers, Equals, constants, enums and flags in VB.NET

This Visual Basic tutorial is about indexer overloading, the Equals() method as well as the = operator, constants, enumerated types (enums) and flags.
Written by Michal Zurek
PRO Show description
Delegates, anonymous methods and lambdas in VB.NET

Lesson 18

Delegates, anonymous methods and lambdas in VB.NET

In this lesson, you will learn about delegates in Visual Basic .NET, learn how to define anonymous methods and work with lambda expressions.
Written by Michal Zurek
PRO Show description
Solved tasks for OOP in VB .NET lessons 17-18

Exercise

Solved tasks for OOP in VB .NET lessons 17-18

Solved programmer tasks in VB .NET on the topics of enums, indexers and delegates. Tasks are ordered by difficulty. Solutions are available for download.
Written by David Capka
PROUnrated Show description
Events in VB.NET

Lesson 19

Events in VB.NET

In this tutorial, we'll introduce events and the EventHandler delegate in Visual Basic. As an example, we will have a listener react to instance changes.
Written by Michal Zurek
PRO Show description
Solved tasks for OOP in VB .NET lesson 19

Exercise

Solved tasks for OOP in VB .NET lesson 19

Solved programmer tasks in VB .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 VB .NET.
Written by Michal Zurek
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 VB.NET course. We'll discuss nullable types, cloning, attributes, destructors and more.
Written by Michal Zurek
PROUnrated Show description


 

Activities (7)