Class TextReaderExtensions
- Namespace
- AlgorithmsSW
- Assembly
- AlgorithmsSW.dll
Provides extension methods for the TextReader class to make it easier to read in collections from a text file.
public static class TextReaderExtensions
- Inheritance
-
TextReaderExtensions
- Inherited Members
Methods
IsEndOfStream(TextReader)
public static bool IsEndOfStream(this TextReader reader)
Parameters
reader
TextReader
Returns
ReadWhiteSpace(TextReader)
public static void ReadWhiteSpace(this TextReader reader)
Parameters
reader
TextReader
ReadWord(TextReader)
public static string ReadWord(this TextReader reader)
Parameters
reader
TextReader
Returns
ReadWordAndConvert<T>(TextReader)
public static T ReadWordAndConvert<T>(this TextReader reader)
Parameters
reader
TextReader
Returns
- T
Type Parameters
T