Advanced VB.NET Programming – Threads, Events and Delegates (Part 2)
This is the second of two computer science lessons about threads, events and delegates. In these two lessons, you will learn how to create a multi-threaded racing game in Visual Basic.NET. The application makes use of the .NET Thread class, which allows you to build responsive applications that can run multiple sub programs at the same time. The game employs custom events to signal changes while the application is running, and delegates, otherwise known as type safe method pointers, to safely marshal method calls between threads. By following along and building this application yourself, you’ll come to see that threads, events and delegates are closely related. To get the most out of this video, you should already be familiar with the basics of high level programming. It would also be advantageous to have some familiarity with object oriented programming. You can find the essentials of object oriented programming with VB.NET in a separate series of computer science lessons. If you’re a C# programmer you still find these videos useful because, although there are some differences in language syntax, the fundamental concepts are the same. Chapters: 00:00 Introduction 01:10 Write a custom event and an event handler 02:56 Raise an event 05:00 Race condition 07:24 SyncLock 08:30 Dynamic event handler assignment with AddHandler 09:45 Abort a thread 12:29 ThreadAbortException 14:54 The benefits of events? 17:17 Run an event handler on a separate thread 18:45 Cross thread operations

String Matching 1. The Naive Algorithm

Advanced VB.NET Programming – Threads, Events and Delegates (Part 1)

Advanced VB.NET Programming – Delegates

KodeCamp 6.0 Beginner C# Class 11 - Object Oriented Programming 3

Advanced VB.NET Programming – Serializing Objects with JSON

GDPR Masterclass - Full Guide to Personal Data, Controllers, Legal Grounds & Erasure Rights

VB.NET Tutorial - Create and Handle Custom Events (Visual Basic .NET)

VB.NET 2013 - Arrays

Asynchronous vs Multithreading and Multiprocessing Programming (The Main Difference)

VB.NET Programming. Intermediate Lesson 1. Event Handling

.NET and C# are in trouble. Here is what I'd do.

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Trump Preps for 80th Birthday, Threatens to Hit Iran, Knicks Historic Win & Elon Musk Trillionaire!?

VB.NET Tutorial 53 - MultiThreading (Visual Basic 2008/2010)

Mastering BackgroundWorker in VB.NET – Run Tasks Without Freezing the UI!

VB.NET Programming. Intermediate Lesson 2. Variable Scope

VB.NET Tutorial For Beginners - Drawing To A Form And Saving Your Image (Visual Basic .NET)

Build your first multithreaded application - Introduction to multithreading in modern C++

VB.NET: Creating Custom Events (Visual Basic 2008/2010/2012)

