An Integer containing the major version number
Indicates the major version (1, 2, etc.) of the programming language currently in use
The initial version of VB.NET returns “7” as its major version number.
This property is implemented as a function in the JScript scripting engine.
If your script requires some functionality available in a baseline version, ordinarily you want to make sure that the script is running on that version or a later version. You do not want to test for equality, since that may leave your code unable to run on later versions of the language engine.
This property is new to VB.NET.