The System.IO.StreamReader.Peek method in C# is used to determine the next available character without consuming it from the input stream. It returns an integer representing the Unicode value of the next character or -1 if there are no more characters to read. This method is useful when you need to check the next character in the stream without moving the stream position.
C# (CSharp) System.IO StreamReader.Peek - 60 examples found. These are the top rated real world C# (CSharp) examples of System.IO.StreamReader.Peek extracted from open source projects. You can rate examples to help us improve the quality of examples.