Difference Between Functions and Sub Routine in VB.Net 2019 Best Practices

12K views Dec 11, 2021

Difference Between Functions and Sub Routine in VB.Net 2019 Best Practices This tutorial will teach you about the Difference Between Functions and Subs in VB.NET With Examples. A procedure is a method that performs a task when it’s called. There are two types of procedures in VB.Net and they are: Functions – return a value Sub procedures or Subs – do not return a value What is a Function? The Function statement is composed of the name, parameter and the body of a function.