摘要:
public int GetElm(int index) { if(index>_count-1) { Console.WriteLine("索引超出范围"); //////////////////////////////// } else ... 阅读全文
posted @ 2008-06-03 23:00
LMT
阅读(140)
评论(0)
推荐(0)
摘要:
using System; using System.Collections.Generic; public class Example { public static void Main() { List dinosaurs = new List(); Console.WriteLine("\nCapacity: {0}", dinosaurs... 阅读全文
posted @ 2008-06-03 20:08
LMT
阅读(259)
评论(0)
推荐(0)
摘要:
// Declare the generic class public class GenericList { void Add(T input) { } } class TestGenericList { private class ExampleClass { } static void Main() { // Declare a list ... 阅读全文
posted @ 2008-06-03 19:43
LMT
阅读(169)
评论(0)
推荐(0)
浙公网安备 33010602011771号