using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace demo5
{
    class Program
    {
        public delegate T del<T>(T t);
        public static string say(string msg) { return ""; }
        public static int say1(int msg) { return 0; }
        static void Main(string[] args)
        {
            del<string> d1 = say;
            del<int> d2 = say1;
        }
    }
}

 

相关文章:

  • 2021-12-18
  • 2022-03-06
  • 2021-07-19
  • 2021-10-17
  • 2021-11-23
  • 2021-08-19
  • 2022-12-23
猜你喜欢
  • 2022-01-30
相关资源
相似解决方案