Share via


Version.Major Property

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

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

Syntax

public int Major { get; }

Property Value

The major version number.

Remarks

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

Version Information

Available in .NET Micro Framework version 3.0 and above.

See Also

Reference

Version Class
Version Members
System Namespace