1. How can I convert a memorystream/filestream to a stream?
2. How to create an array of streams?
AK
Printable View
1. How can I convert a memorystream/filestream to a stream?
2. How to create an array of streams?
AK
Both MemoryStream and FileStream inherit from Stream. You can use either class where you can use a Stream.Quote:
Originally Posted by AngKar
Quote:
Originally Posted by AngKar
Code://An array of five streams
Stream[] streams = new Stream[5];
So is this valid? I want to do something like this....
Code:
public Stream getStream(Stream stream)
{
MemoryStream ms;
.
.
.
retrun ms;
}
Yup.
Thanks Piano