static void Main(string[] args) { Console.WriteLine("Please Enter Path of the File"); string filepath; filepath = Console.ReadLine(); HexTools program = new HexTools(); List <HexTools.lineofData> Completedatalist = new List <HexTools.lineofData>(); Completedatalist = program.ReadHexFile(filepath); Console.ReadLine(); }