static void Main(string[] args) { var obj = (Sample1) new Sample1(); Console.WriteLine(obj.GetType()); Console.WriteLine(Sample1.add(1, 2)); }
static void Main(string[] args) { var abc = new LinkedList <Sample1>(); abc.AddLast(new Sample1()); Console.WriteLine(Sample1.add(1, 2)); Console.WriteLine(abc.Count); }
static void Main(string[] args) { Console.WriteLine(Sample1.add(1, 2)); item = new Sample1(); Console.WriteLine(item.mul(3, 5)); Sample1 item2 = new Sample1(); Console.WriteLine(item2.mul(4, 2)); }
static void Main(string[] args) { Console.WriteLine(Sample1.add(1, 2)); var map = new Dictionary <Sample1, Sample1>(); var itemA = new Sample1(); var itemB = new Sample1(); map.Add(itemA, itemB); Console.WriteLine(map.Count); Console.WriteLine(map[itemA].Equals(itemB)?1:0); }
static void Main(string[] args) { Console.WriteLine(Sample1.add(1, 2)); Console.WriteLine(Sample2.multiply(3, 5)); }
static void Main(string[] args) { Console.WriteLine(typeof(Sample1)); Console.WriteLine(Sample1.add(1, 2)); }
static void Main(string[] args) { var obj = new Sample1(); Console.WriteLine(obj.add(1, 2)); }
static void Main(string[] args) { Console.WriteLine(Sample1.add(1, 2)); Console.WriteLine(GetSDKClass().mul(3, 5)); }
static void Main(string[] args) { Console.WriteLine(Sample1.add(1, 2)); Console.WriteLine(PrimaryClass.divide(10, 2)); }
static void Main(string[] args) { Console.WriteLine(Sample1.add(1, 2)); Console.WriteLine(SDK.Sample1.Item.mul(3, 5)); }
static void Main(string[] args) { Console.WriteLine(SDK.Sample1.add(1, 2)); Console.WriteLine(Sample1.minus(3, 2)); }
static void Main(string[] args) { Console.WriteLine(Sample1.add(1, 2)); Program2.Run(); Program3.Run(); }