
c#
S93051
强到简单
展开
-
c#索引器
索引器using System namespace lesson { public class Array { //索引器 public int this[int index] { set{ //value为引用后数值; _arr[index]=value; } get { return _arr[index]; }原创 2017-11-21 11:07:38 · 188 阅读 · 0 评论 -
c# ArrayList
ArrayList 与Listusing System; using System.Collections.Generic; using System.Collections; namespace lesson2{ public class Person{ } class MainClass{ public Static void main (string[] args){ //申明一个List对象原创 2017-11-26 10:41:48 · 214 阅读 · 0 评论 -
c# 托举
c# 托举 `using System; namespace lesoo3{ public delegate void Something (string name); public Student(string name){ public void Do (Something something){ something(name); } public原创 2017-11-26 11:15:46 · 208 阅读 · 0 评论