基本操作符

    • new
      • 操作符
      • 修饰符
    • check & uncheck

      1. try
      2. { int x = int.MaxValue;
      3. int y = checked(x+1);
      4. }
      5. catch (OverflowException ex)
      6. {
      7. Console.WriteLine("There's overflow!");
      8. }
    • delegate

      • 匿名方法(已经过时了)
        1. this.button1.Click += delegate(object sender, RoutedEventArgs e)
        2. {
        3. this.textBox1.Text = "Hello world!";
        4. };
    • lambda

      • 符号:=>
        1. this.button1.Click += ( sender, e) =>
        2. {
        3. this.textBox1.Text = "Hello world!";
        4. };
    • sizeof

    **

    • “ -> “
      • 像指针操作、取地址操作,以指针访问操作 只能操作结构体,不能操作引用类型