Пример #1
0
        public bool Generics_AnotherGenericOnMethodParam()
        {
            var foo = new Foo <Another <Dictionary <string, int> > >(new Another <Dictionary <string, int> >());

            var nullableIntArray = new int?[3];

            nullableIntArray[0] = 6;
            nullableIntArray[1] = null;
            nullableIntArray[2] = 5;

            var item = foo.AnotherGenericOnMethodParam(new Another <Dictionary <string, int> >(), nullableIntArray);

            return(item == null);
        }