I'm trying to read the contents of a text file, in this case a list of computer names (Computer1, computer2 etc,) and I thought that StreamReader would be what you would use but when I do the following:
StreamReader arrComputer = new StreamReader(FileDialog.filename)();
I get this error:
The type or namespace name 'StreamReader' could not be found (are you missing a using directive or an assembly reference?)
I'm very new to C# so I'm sure I'm making a newbie mistake.