V
Vitaly
// Open input file and create the BinaryReader.
br = new BinaryReader(new FileStream("Test.dat",
FileMode.Open,
FileAccess.Read));
// Read binary data.
d = br.ReadDouble();
A question is how to do the same but read from standard input stream … like
Console.In.
How to Assign the BinaryReader to the standard input stream which actually
has type TestReader?
Any suggestion?
br = new BinaryReader(new FileStream("Test.dat",
FileMode.Open,
FileAccess.Read));
// Read binary data.
d = br.ReadDouble();
A question is how to do the same but read from standard input stream … like
Console.In.
How to Assign the BinaryReader to the standard input stream which actually
has type TestReader?
Any suggestion?