Mono Class Library: System.Version Overview | Members

System.Version.Minor Property

Gets the value of the minor component of the current instance. [Edit]

public int Minor { get; }

Value

A int specifying the minor component. [Edit]

Remarks

This property is read-only.

If the version number is 6.1, the minor component is 1.

[Edit]

Example

C# Example
using System;
class VersionMinorExample {
   public static void Main() {
      Version vers = new Version("6.1.2.4");
      Console.Write("The minor component ");
      Console.WriteLine("of version vers = {0}.",
                        vers.Minor);
   }
}
   

The output is

The minor component of version vers = 1.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0