예제 #1
0
        //==== READ Methods ====

        //  Read: InputDoc
        //  "Initialize Object Properties"
        public void Read_InputDoc(string _inputFilePath)
        {
            this.Txt_FilePath = _inputFilePath;

            //  Populate 'textLines' Array from .txt document
            this.TextArray = System.IO.File.ReadAllLines(this.Txt_FilePath);
            this.LinesList = TextArray.ToList();
            this.LineCount = LinesList.Count();

            Console.WriteLine("LineCount: " + LineCount);
        }