コード例 #1
0
 // 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();
 }
コード例 #2
0
ファイル: HelpOption.cs プロジェクト: xero-github/designnotes
 public String AboutClassOption()
 {
     Console.Clear();
     string filePath = ConfigurationManager.AppSettings["helpFilePath"].ToString();
     FileRead readFile = new FileRead();
     readFile.ReadFile("helpFilePath", filePath);
     helpText = readFile.getHelpReadText();
     return (helpText);
 }