Input/Output Line Count Puzzle
Files and Directories on disk puzzle: Given an input directory that is passed into the method (For example: C:\work\input_files). There will be n text files in this directory. For simplicity, all text files will end with the extension .txt. Anything else can be ignored. Each text file will contain n number of lines. Find the total number of lines in all the files. (For example, if there are 3 files, file #1 has 3 lines, file #2 has 200 lines, file #3 has 20 lines, you should return 223).
Don't forget the using statement for System.IO!!!