Перейти к содержимому

VB.NET Programming. Intermediate Lesson 5. Write your own Functions

Computer Science Lessons

0:00 / 0:00

VB.NET Programming. Intermediate Lesson 5. Write your own Functions

18 687 просмотров · 5 лет назад
Computer Science Lessons
252 тыс. подписчиков
18 687 просмотров · 5 лет назад
This is the fifth in a series of computer science video tutorials for intermediate Visual Basic programmers who have completed the beginner’s series of video tutorials or are already familiar with the VB.NET syntax for the fundamental programming constructs. In this lesson you will learn how to write your own functions and how to call them. You will learn how to write a function definition including its input parameters, their data types, and the data type of the function’s return value. The lesson includes a number of examples of custom functions that you can try yourself. Chapters: 00:00 Introduction 00:28 Rewrite a sub-procedure as a function 02:18 The function return value 02:52 Calling your own function 04:51 The return value data type 05:20 Example function – return the area of a triangle 06:42 Example function – temperature checker