02 2023 档案
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace
阅读全文
摘要:using System; namespace Application { //泛型接口和泛型委托的简单应用 //1.泛型接口 interface I_test<T>//这里的T意思就是泛型接口,继承的时候要指定接口的类型 { T run(T ABC); } class pro: I_test<st
阅读全文
摘要:多态性 :分为静态多态和动态多态 1.静态多态 相同一个方法名 参数的数量或者类型不一样,这就是静态多态。 public int Getvlue(int x, int y) { return x + y; } public string Getvlue(string x, string y) { r
阅读全文
浙公网安备 33010602011771号