Root/
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace MyDownloader.Core.Common { public static class PathHelper { public static string GetWithBackslash( string path) { if (!path.EndsWith(Path.DirectorySeparatorChar.ToString())) { path += Path.DirectorySeparatorChar.ToString(); } return path; } } } |
Source at commit 1dae03ea3242 created 11 years 10 months ago. By Nathan Adams, Initial commit |
---|