static void Main(string[] args) { var scaleValue = new Scale <int>(16, 15); Console.WriteLine(scaleValue.GetHeavier()); Console.ReadLine(); }
static void Main(string[] args) { Scale <bool> box = new Scale <bool>(true, true); Console.WriteLine(box.GetHeavier()); Console.Read(); }
static void Main(string[] args) { var v1 = 2; var v2 = 2; var sclae = new Scale <int>(v1, v2); Console.WriteLine(sclae.GetHeavier()); }
static void Main() { Scale <int> scalesOfJustice = new Scale <int>(12, 3); Console.WriteLine(scalesOfJustice.GetHeavier()); Scale <string> scalesOfJustice2 = new Scale <string>("Asen", "Mais"); Console.WriteLine(scalesOfJustice2.GetHeavier()); }
public static void Main() { var scale = new Scale <int>(); scale.Right = 2; scale.Left = 5; Console.WriteLine(scale.GetHeavier()); }
public static void Main() { var scale1 = new Scale <int>(5, 10); Console.WriteLine(scale1.GetHeavier()); var scale2 = new Scale <string>("Man", "Woman"); Console.WriteLine(scale2.GetHeavier()); }
public static void Main() { var scale = new Scale <int>(25, 2); //to set value must be set in the constructor var scale1 = new Scale <double>(13, 19); var scale2 = new Scale <string>("aaa", "aaa"); Console.WriteLine(scale.GetHeavier()); Console.WriteLine(scale1.GetHeavier()); Console.WriteLine(scale2.GetHeavier()); }
public static void Main(string[] args) { var Myscale1 = new Scale <int>(10, 20); Console.WriteLine(Myscale1.GetHeavier()); var Myscale2 = new Scale <string>("Love", "Hate"); Console.WriteLine(Myscale2.GetHeavier()); Console.WriteLine("Any Key to Quit!"); Console.ReadLine(); }
public static void Main() { var scale = new Scale <int>(20, 5); Console.WriteLine(scale.GetHeavier()); }
static void Main(string[] args) { Scale <int> scale = new Scale <int>(4, 36); Console.WriteLine(scale.GetHeavier()); }
public static void Main() { var scale = new Scale <string>("Ani", "Vasko"); Console.WriteLine(scale.GetHeavier()); }
public static void Main(string[] args) { Scale <Peron <int> > scale = new Scale <Peron <int> >(new Peron <int>(), new Peron <int>()); Console.WriteLine(scale.GetHeavier()); }
static void Main(string[] args) { Scale <string> scale = new Scale <string>("5", "10"); Console.WriteLine(scale.GetHeavier()); }
static void Main() { Scale <int> scale = new Scale <int>(5, 15); Console.WriteLine(scale.GetHeavier()); }