Represents the version number for a common language runtime assembly. This class cannot be inherited.
For a list of all members of this type, see Version Members.
System.Object
System.Version
[Visual Basic] <Serializable> NotInheritable Public Class Version Implements ICloneable, IComparable [C#] [Serializable] public sealed class Version : ICloneable, IComparable [C++] [Serializable] public __gc __sealed class Version : public ICloneable, IComparable [JScript] public Serializable class Version implements ICloneable, IComparable
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Version numbers consist of two to four components: major, minor, build, and revision. Components major and minor are required. Components build and revision are optional, but the revision component is only optional if the build component is not defined. All defined components must be decimal integers greater than or equal to 0. Metadata restricts the major, minor, build, and revision components to a maximum value of MaxValue- 1.
The format of the version number is as follows. Optional components are shown in square brackets ('[' and ']'):
major.minor[.build[.revision]]
The components are used by convention as follows:
Subsequent versions of an assembly that differ only by build or revision numbers are considered to be Quick Fix Engineering (QFE) updates of the prior version. If necessary, the build and revision numbers can be honored by changing the version policy in the configuration.
This class implements the ICloneable and IComparable interfaces.
Namespace: System
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework - Windows CE .NET
Assembly: Mscorlib (in Mscorlib.dll)