I'm implementing the Stream class. The new class supports reading and writing but not seeking.
MSDN says this returns the length of the stream. As it both reading and writing are supported I don't know how long the string will be until all the writing is finished.
Should I throw a NotSupportedException for this as with SetLength and Position?
The documentation doesn't suggest this is the correct behaviour, however, if I do return a value then how should I calculate it?