static void Main(string[] args)
        {
            bool   b      = false;
            IfStat ifstat = new IfStat();

            if (!(ifstat.If(true).Equals("true")))
            {
                Environment.Exit(-1);
            }

            if (!(ifstat.If(false).Equals("false")))
            {
                Environment.Exit(-1);
            }

            if (!(ifstat.If(b).Equals("false")))
            {
                Environment.Exit(-1);
            }

            if (!(ifstat.If(!b).Equals("true")))
            {
                Environment.Exit(-1);
            }

            if (!(ifstat.If2(b).Equals("true")))
            {
                Environment.Exit(-1);
            }

            if (!(ifstat.If2(!b).Equals("false")))
            {
                Environment.Exit(-1);
            }
        }
        public static void Main()
        {
            IfStat obj = new IfStat();

            obj.setAttribute(3);
            int n = obj.getAttribute();

            Console.WriteLine("" + obj.getAttribute());
            if (n != 3)
            {
                Environment.Exit(-1);
            }

            obj.setAttribute(true);
            bool b = obj.getAttribute();

            Console.WriteLine("" + obj.getAttribute());
            if (b != true)
            {
                Environment.Exit(-1);
            }
        }