摘要:
public class Intstrot : IEnumerator,IEnumerable{ int[] a; int CurrentIndex = -1; int EndIndex = -1; int containAblity; public Intstrot(int ContainAblity) { containAblity = Co... 阅读全文
摘要:
C# defines two interfaces to enumerate a collective object. Now let us see them:public interface IEnumerator{ object Current { get; } bool MoveNext(); void Reset();}public interface IE... 阅读全文
摘要:
/// /// 填充ComboBox/// /// /// private void FillComboBox(ComboBox cmb) {try {cmb.DropDownStyle = ComboBoxStyle.DropDownList;//设置combobox的样式。ArrayList ary_Tmp = this.GetArrayList();ary_Tmp.Insert(0, (ne... 阅读全文