System.Version

This structure simply provides a wrapper around arbitrary version information. Listing B.18 shows some of its functionality (version.cs).

Listing B.18. Version Example
public class VersionMain
{
    static void Main(string [] args)
    {
        Version v1 = new Version("1.2.3.4");
        Version v2 = new Version(1,2,3,5);
        Console.WriteLine("{0}  {1} ", v1, v2);
        Console.WriteLine("v1 > v2? {0} ", v1 > v2);
    }
}

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.27.232