using System;
namespace Samples
{
class Program
{
static void Main(string[] args)
{
Version version1 = new Version(2, 0);
Version version2 = new Version(2, 0, 0);
Version version3 = new Version(2, 0, 0, 0);
Console.WriteLine(version1.Equals(version2));
Console.WriteLine(version1.Equals(version3));
Console.WriteLine(version2.Equals(version3));
}
}
}
|