namespace Viv.SomeApp { public static class File { public static void ReadAllLines(string s) { } } }Options if I need to use this and System.File.IO in same code:
using VFile = Viv.SomeApp.File; using System.IO; public class Program { public static void Main() { //Without using Viv.SomeApp.File.ReadAllLines("xxx"); System.IO.File.ReadAllLines("xxx"); // With using VFile.ReadAllLines("xxx"); File.ReadAllLines("xxx"); } }I prefer the 'using' version.