public static int MainMethod(string[] args)
        {
            dynamic d = new Target();
            myStruct s = new myStruct()
            {
                Ok = false
            }

            ;
            float? nf = d[s];
            if (nf != float.PositiveInfinity || Target.Status != 3)
                return 1;
            d[s] = null;
            if (Target.Status != 4)
                return 1;
            return 0;
        }
        public float? this[myStruct x]
        {
            get
            {
                Target.Status = 3;
                return float.PositiveInfinity;
            }

            set
            {
                if (value == null)
                    Target.Status = 4;
            }
        }