示例#1
0
文件: Program.cs 项目: xiayeyy/c-high
        // private delegate string GetString();

        static void Main(string[] args)
        {
            // int x = 40;
            // GetString a = x.ToString;
            // string s = a();       //常用的初始化和调用
            // Console.WriteLine(s);

            Printstring method = method1;

            pringstr(method);
            // method += method1;
            Console.ReadKey();
        }
示例#2
0
文件: Program.cs 项目: xiayeyy/c-high
 static void pringstr(Printstring print)
 {
     print();
 }