using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Tinkerforge.Helper { public abstract class Version { private int major; private int minor; private int build; public Version(int major, int minor, int build) { this.major = major; this.minor = minor; this.build = build; } public int Major { get { return major; } } public int Minor { get { return minor; } } public int Build { get { return build; } } public override string ToString() { return major + "." + minor + "." + build; } } }