public ReadFile ( string fileName, string filePath ) : void | ||
fileName | string | |
filePath | string | |
return | void |
// PAYXTI-6 Adding questions from config file to the LisofQA and initially setting answer as blank void CreateDefaultSetOfQuestion() { string filePath = ConfigurationManager.AppSettings["questionFilePath"].ToString(); FileRead readFile = new FileRead(); readFile.ReadFile("questionFilePath", filePath); Questions = readFile.getListOfReadQuestions(); }
public String AboutClassOption() { Console.Clear(); string filePath = ConfigurationManager.AppSettings["helpFilePath"].ToString(); FileRead readFile = new FileRead(); readFile.ReadFile("helpFilePath", filePath); helpText = readFile.getHelpReadText(); return (helpText); }