コード例 #1
0
 static void Main(string[] args)
 {
     try
     {
         //能听到老师讲话(声音很清晰),能看到老师屏幕的 刷个1
         Console.WriteLine("欢迎来到.net高级班vip课程,今晚学习表达式树Expression,我是Richard老师!");
         {
             Console.WriteLine("****************认识表达式目录树*************");
             //ExpressionTest.Show();
         }
         {
             //Console.WriteLine("********************MapperTest********************");
             ExpressionTest.MapperTest();
         }
         {
             //Console.WriteLine("********************解析表达式目录树********************");
             //ExpressionVisitorTest.Show();
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
     Console.Read();
 }
コード例 #2
0
        static void Main(string[] args)
        {
            try
            {
                {
                    Console.WriteLine("*************Action + Func");
                    ActionFunc actionFunc = new ActionFunc();
                    actionFunc.Show();
                }

                {
                    Console.WriteLine("********************Expression****************");
                    // 存在于System.Linq.Expression命名空间
                    ExpressionTest.Show();
                }
                {
                    ExpressionVisitorTest.Show();
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
                //throw;
            }

            Console.Read();
        }
コード例 #3
0
 static void Main(string[] args)
 {
     try
     {
         Console.WriteLine("欢迎来到.net高级班vip课程,今晚学习表达式树Expression");
         ExpressionTest.Show();
         //ExpressionVisitorTest.Show();
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
     Console.Read();
 }