Functions in Visual Basic .NET
Functions are central in Visual Basic .NET. We’ll learn about functions with a few different examples.
To run the program, save it as Functions.vb
and use the Visual Basic .NET compiler:
There are several other features to Visual Basic .NET functions. One is multiple return values, which we can achieve using tuples or custom objects.