Esempio n. 1
0
        static void Main(string[] args)
        {
            var test4 = new Test4
            {
                BirthDate = DateTime.UtcNow
            };
            var a = Boolean.Parse("das");

            // bool test;
            // var bbb = Boolean.TryParse("asdas", out test);
            if (Boolean.TryParse("asdas", out var aaaaaaaa))
            {
                // tests
                // test
            }

            //test4.BirthDate.Value.

            var test24 = new Test4();


            // Test4.SuperAge

            ExtensionMethods.SuperMethod("asdas");
            MySuperDelegate mySuperDelegate = TTTT;

            mySuperDelegate += TTTT2;
            mySuperDelegate?.Invoke(("asd"));
            mySuperDelegate += g =>
            {
                System.Console.WriteLine("BU");
                return(0);
            };

            var items   = new[] { "asd", "asdas" };
            var ittems2 = items.Where(items => items.Length > 2);

            ittems2.ToList();

            "".SuperMethod();
            var test2 = new System.Collections.Generic.List <int>();

            test2.Where(i => true);
            //var a = Test1(5);
            var a2 = Test1(b: 5, a: 7);
            var ab = Test1(5.5);


            Console.WriteLine("Hello World!");
            var test = new Test(55);
            var b    = test as ITest;

            test.TestMethod3();
        }