看个一个帖子
http://topic.csdn.net/u/20090203/15/6cacb58f-5e60-498e-ba80-46e575b363db.html
小弟不明白抽象类的作用,因为小弟从来没用过,
还有一部分代码我写在下面
protected string GetPath(IList<string> info, string filePath)
        {
            string fileName = string.Empty;            if (info == null)
            {
                return null;
            }
            if (info.Count <= 0)
            {
                return GetNumber(1);
            }
            for (int i = 0; i < info.Count; i++)
            {
                if (Directory.Exists(info[i]))
                {
                    if (Directory.GetFiles(info[i]).Length < 1000)
                    {
                        fileName = info[i];
                        break;
                    }
                }
            }
            if (string.IsNullOrEmpty(fileName))
            {
                return Path.Combine(filePath, GetNumber(int.Parse(info.ToList<string>().Max(s => s.Substring(s.LastIndexOf("\\") + 1).TrimStart('0'))) + 1));
            }
            else
            {
                return fileName;
            }
        }
方法签名中的第1个参数IList<string>的为什么要这么写呢,这是个啥类型?貌似是泛型接口,但是我看不太懂,请高手指教