Methods (Subroutines)
There are two basic types of method in VB.NET, the Subroutine and the Function.
Using Methods lets you break up code, into separate reusable sections (Methods) of code.
The difference between is this
A Function returns a value, whereas a Subroutine doesn't.
You have been using a Subroutines, without knowing.
...
Comparison OperatorsThese operations compare the relative values of the items being compared.
Takes:
ObjectA Comparison_Operand ObjectBReturns:
Boolean (
Note: This is Generally True, but not always. Why is for a later Post.)
= Equals To
The simplest of them. Do this equal that?
...