1.什么是强类型集合?
2.什么是强类型集合的泛型?
3.什么又是松散类型啊?谢谢~~

解决方案 »

  1.   

    http://topic.csdn.net/t/20030623/23/1949134.html
      

  2.   

    有人回答吗?能结合IList<>说一下吗?
      

  3.   

    public IList<ProductInfo> GetProductsByCategory(string category)
            {
                // Return new if the string is empty
                if (string.IsNullOrEmpty(category))
                    return new List<ProductInfo>();
     
                // Run a search against the data store
                return dal.GetProductsByCategory(category);
            }
    //   以上的是petshop 4.0 的一段代码.用强类型的范型集合 的一下应用实例以上只是一个参考.现在我也是在修炼.net 2.0 一起学习.建议你学习一下 petshop 4.0