interface 不能包含成员变量,必须在类实现, interface Isuper { public int getsuper() } class person:ISuper { public int getisuper() return getsuper()+7; } astract 抽象类可以包含方法 属性 成员变量 索引 abstract class get
2020-04-300个赞
index 索引器 privata string[] namelist=new string[10]; //创建构造函数 public Indexednames() { for(int i=0;i=0&&index=0&&index
2020-05-060个赞
泛型在委托书上的实现 delegate T numberchanger(t n); class program { static int mun=10; public static int addnum(int p) { num+=p; return num; } public static int multnum(int p) { num*=p; return num; } static void main(string[] args) { numberchanger nc1=new numberchanger(addnum); nc1=5; console.writeline(num); numberchanger nc2=new numberchanger(multnum) nv2=5; } }
2020-05-070个赞
delegate void testdelegate(string s) static void string(s) {}
2020-05-090个赞
()=> 表达式或者方法
2020-05-090个赞
int[] number={1,5,6,10,20}; var numquery=form num in number where num%2=0 orderby num select num; 拉姆达方法 var numquery2=number.where(n=>n%2==0).orderby(n=>n)
2020-05-090个赞
<p>段落标记 换行标记 加粗标记 下划线标记 下划线 强调标记 加粗 强调标记 倾斜 上标 下标
2020-05-130个赞
direction 方向 scrollamuount 滚动数量
behavior 行为
2020-05-140个赞
../上一级目录 ./当前目录
2020-05-150个赞
blank 空白的
2020-05-150个赞
&less than 小于号 &gretat than大于号
2020-05-180个赞
cell 单元格 spaceing 距离 padding 填充 border边框 left 左 left 右
2020-05-180个赞
get 提交 数据的都是独立的 psot 将提交的数据作为一个整体
2020-05-200个赞
XML 规则 1.至少需要一个元素 2.xml区分大小写, 3.必须是容器标记 4.标记的嵌套必须正确 5.合法的标签,字母 下划线 冒号,后面在字母 数字 下划线 冒号 句号连字符 6.标签的长度取决于cpu的处理能力。255字符
2020-04-300个赞
注释不能放在语言前 xmlspay 软件
2020-04-300个赞