using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace _01练习题1{ // ctrl + k + d /* * 这是一个注释 */ class Program { ////// summary表示这个方法的总的描述 /// /// 表示的是方法参数的描述 static void Main(string[] args) { // ctrl + k + s #region MyRegion /* int a = 5; int b = 10; char ch; int[] a; var num = 10; num = "123"; num = function () { } * */ #endregion } ////// 这是一个自定义的空方法 /// /// 我是一个参数 public static void Func(int num) { } } class person { } class Student { }}
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace _01练习题1{ class Teacher { }}