Major Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the value of the major component of the version number for the current Version object.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public int Major { get; }

Property Value

Type: System..::..Int32
The major version number.

For example, if the version number is 6.2, the major version is 6.

Show: