摘要: C# list介绍 一、LIST概述 所属命名空间:System.Collections.Generic public class List<T> : IList<T>, ICollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable 阅读全文
posted @ 2018-03-16 14:06 微光-倾城 阅读(506) 评论(0) 推荐(0) 编辑
摘要: C#通过文件路径获取文件名 string fullPath = @"/WebSite1/Default.aspx"; string filename = System.IO.Path.GetFileName(fullPath);//文件名 “Default.aspx” string extension = System.IO.Path.GetExtension(fullPath);//扩展名 ... 阅读全文
posted @ 2018-03-16 10:38 微光-倾城 阅读(8743) 评论(0) 推荐(1) 编辑