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

Computer Science
Computer Science
6.7 هزار بار بازدید - 23 ساعت پیش - This is the first of
This is the first 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 Features of the game 02:00 Animate a shape with a Graphics object 05:04 Random movement 07:45 Start multiple threads 08:54 What is a thread? 11:05 The ThreadStart Delegate 14:49 Finishing touches
23 ساعت پیش در تاریخ 1403/07/06 منتشر شده است.
6,703 بـار بازدید شده
... بیشتر