G
garyusenet
From MSDN I'm trying to learn more about streamreader. I'm working my
way down the MSDN definition. The first entry is the Public Constructor
StreamReader. I'm fairly happy I have a basic grasp on this. It is the
part of the Streamreader class that creates a StreamReader instance for
a given Stream. The next entry however I don't understand: -
Public Fields
Name Description
Null A StreamReader object around an empty stream.
I have used go to definition and looked at this and can see that it
corresponds to the following code:
public class StreamReader : TextReader
{
// Summary:
// A System.IO.StreamReader object around an empty stream.
public static readonly StreamReader Null;
What does this do? I don't understand. Could someone please explain
it's use.
Thankyou,
Gary.
way down the MSDN definition. The first entry is the Public Constructor
StreamReader. I'm fairly happy I have a basic grasp on this. It is the
part of the Streamreader class that creates a StreamReader instance for
a given Stream. The next entry however I don't understand: -
Public Fields
Name Description
Null A StreamReader object around an empty stream.
I have used go to definition and looked at this and can see that it
corresponds to the following code:
public class StreamReader : TextReader
{
// Summary:
// A System.IO.StreamReader object around an empty stream.
public static readonly StreamReader Null;
What does this do? I don't understand. Could someone please explain
it's use.
Thankyou,
Gary.