static void Main(string[] args) { AskInformation(ref appId, "Please provide your application id or EXIT:"); AskInformation(ref appKey, "Please provide your application key or EXIT:"); AskInformation(ref appVersion, "Please provide your app version or EXIT:"); AskInformation(ref filePath, "Please provide your csv file path or EXIT:"); var importService = new ImportService(appId, appKey, appVersion); var list = new List <Tuple <string, string> >(); using (var reader = new StreamReader(filePath)) { reader.ReadLine(); string line = null; while ((line = reader.ReadLine()) != null) { var data = line.Split(";"); if (data.Length >= 2) { list.Add(new Tuple <string, string>(data[0], data[1])); } } } var result = importService.ImportExamples(list).Result; System.Console.WriteLine("Process Complete."); System.Console.ReadKey(); }