使用 ILSpy 工具查看了 System.IO.Path 类中的 Combine 方法 对它的功能有点不放心,原方法实现如下: // System.IO.Path /// <summary>Combines two path strings.</summary> /// <returns>A string containing the combined paths. If one of the specified paths is a zero-length stri…
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO;//使用Path类需要引用System.IO namespace _07_Path类 { class Program { static void Main(string[] args) { //声明一个路径 String str = @"C:\app\Administrator\admin\or…
using System; using System.IO; using System.Web; using System.Drawing; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using System.Xml.Serialization; namespace ZMM.Core { /// <summary> /// IO帮助类 /// </summary> public class IOHel…