Exemplo n.º 1
0
        static void main(string[] Args)
        {
            InnerSet_0 <int> inner_set_0 = new InnerSet_0 <int>();
            InnerSet_1 <int> inner_set_1 = (InnerSet_1 <int>)inner_set_0.addElement(12);
            InnerSet_2 <int> inner_set_2 = (InnerSet_2 <int>)inner_set_1.addElement(24);

            System.Console.WriteLine(inner_set_2.ToString());
        }
Exemplo n.º 2
0
 public InnerSet_2(InnerSet_1 <T> p_inner_set, T p_element)
 {
     a_element_1 = p_inner_set.a_element_1;
     a_element_2 = p_element;
 }