Call Us: +32 2 466 00 16
Follow Us:

Object-Oriented Programming in Visual Basic .NET

5 days
5 days

Upcoming Sessions





Book now





Book now

Interested in a private company training? Request it here.

Overview of .NET

The .NET Framework is designed to be used for developing multiple types of applications. You'll get an overview of what .NET is and the applications you can build with it. You will also be introduced to the different flavors contained within .NET, like .NET Standard and .NET Core.

  • What is a .NET Application?
  • The Common Language Runtime and .NET Class Libraries
  • .NET, .NET Core, .NET Standard, Xamarin/Mono
  • .NET Applications: MVC, Web API, WPF, UWP,...

The .NET Application

When building applications in .NET, it needs to follow a couple of rules. We'll look at the structure of an application and which parts are necessary during runtime.

  • The Visual Studio Solution and Project
  • What are Namespaces and Assemblies

Classes and Objects

One of the most basic parts of Object-Oriented (OO) programming is designing a blueprint (called class) and during runtime creating an object out of that. In this module we will talk about the real fundamentals of .NET programming. We create variables to store numbers, text and complex objects and try to use operators on them. We'll explore the ways in which you create a class and add state and behavior to objects.

  • What is a Class?
  • Fields, Methods and Properties
  • Namespaces

Instance Constructors

Whenever you instantiate an object from a class, it needs to be constructed. This module will discuss how .NET handles this.

  • Instance Constructors
  • Constructor Initializers
  • Overloading Constructors

Types in .NET

Whether you're trying to store numbers, text or objects, you need to put them into variables. These variables will inevitably end up somewhere in memory. By knowing where in memory each type of variable gets stored, we can predict what will happen to them.

  • Type Categories in .NET
  • Value Types, Reference Types and Immutable Reference Types
  • Custom Value Types: Structure and Enumeration
  • Boxing and Unboxing
  • Arguments of Functions. Pass by Value, by Reference; Passing Output

Shared Members and Shared Classes/Modules

From time to time you need some functionality that is not part of one object, but instead part of a complete class. This allows you to use methods without creating an object, or storing data that is reachable for every object. In .NET we call this shared members and classes.

  • Shared Members
  • Shared Constructors
  • Shared Classes


A very important aspect of OO programming is being able to inherit functionality from a basic concept. We'll explore how we can use Inheritance to extend a class and add functionality to it. To help you a bit with a practical example we'll create an ASP.NET MVC application to illustrate Inheritance.

  • General Principle of Inheritance
  • Accessibility levels: Public, Private, Protected


On top of Inheritance in OO programming comes this marvel called polymorphism. It allows us to add a different implementation for specific types, based on a generic definition of a function. With polymorphism this is an easy feat to accomplish.

  • Inheritance & Polymorphism
  • Overriding Methods & Properties
  • Using the Base Class
  • NotInheritable Classes, Methods and Properties
  • The Object Class
  • Overriding the ToString, Equals and GetHashCode Method

Abstract classes and Interfaces (MustInherit)

Both concepts are incredibly important in .NET. We'll have a look at how to implement this with an ASP.NET MVC application.

  • Abstract Classes
  • Defining Interfaces
  • Implementing Interfaces
  • Interface Examples in .NET


Storing elements in a collection is crucial in programming languages. This chapter talks about one of the most basic collections in .NET.

  • Arrays in .NET
  • Multidimensional Arrays
  • Indexer Properties
  • The for, for each and while Loops


In VB.NET, you can consider two separate mechanisms when writing reusable code accross different types: inheritance and generics. Where inheritance provides reusability with the concept of base types, generics express reusability by providing a template that contains type placeholders. Generics, in comparison to inheritance, can increase type safety and reduce the need for casting and boxing within your applications. This module will illustrate how and when to use generics in your .NET applications. We'll use a WPF application to illustrate Generics.

  • How to use Generics
  • Creating your own Generics
  • Generic Constraints

Exception Handling

Whenever something unexpected happens, like the network going down, we want our programs to handle this behavior in a user-friendly way. With Exceptions we can react fittingly when these problems occur.

  • Exceptions in .NET
  • The try-catch-when-finally Keywords
  • Creating Custom Exceptions

Delegates and Events

One of the most difficult aspects of .NET programming is to be able to store functions in a variable. That is exactly what delegates allow us to do. This concept is used with lots of .NET technologies, like asynchronous programming, eventhandling, LINQ,.... Events are based on delegates, allowing your application to react to something happening, like a button click.

  • Creating Delegates
  • Using Delegates
  • Multicast Delegates
  • Creating Events
  • Using Events in a UI

Language Features

This module will introduce you to a couple of nifty features that are included in .NET.

  • Type Inference
  • Extension Methods
  • Anonymous Methods
  • Anonymous Types
  • Lambda Expressions

Linq fundamentals

LINQ allows to use query-expressions that are very akin to SQL queries, but that can be applied to multiple types of data. This makes certain operations like filtering and sorting data very easy. You will also be introduced to Entity Framework for exposing your relational data.

  • Enumerable Class
  • Func Delegates
  • Entity Framework
  • Query Operations from, where, order, group and select

This course teaches you how to start programming with the Visaul Basic .NET (VB.NET) language and the Microsoft .NET Framework. You will get familiar with the language syntax and the .NET Object Oriented concepts, such as classes, objects, inheritance, polymorphism... To demonstrate the possibilities you'll work with simple examples in Console, WPF and ASP.NET MVC applications. You'll be introduced to Entity Framework as well, so you get an idea for accessing a database easily.

This training targets developers with no or limited VB.NET experience. A basic understanding of programming - in whatever language - is recommended. You will leave the training with sufficient knowledge to make the next step and to start learning web or windows development.

Contact Us
  • Address:
    U2U nv/sa
    Z.1. Researchpark 110
    1731 Zellik (Brussels)
  • Phone: +32 2 466 00 16
  • Email:
  • Monday - Friday: 9:00 - 17:00
    Saturday - Sunday: Closed
Say Hi
© 2022 U2U All rights reserved.