示例#1
0
        //Tasks from HakerRank Account
        static void ChangeMyInt(MyInt2 ShortItem2)
        {
            Console.WriteLine(ShortItem2);
            MyInt2 parentitem = new MyInt2();

            parentitem.SwitchMyShortInts(ref ShortItem2);
            Console.WriteLine(ShortItem2);
        }
示例#2
0
 public void SwitchMyShortInts(ref MyInt2 ObjectInt)
 {
     ObjectInt = new MyShortInt3();
 }