This is probably a really simple question, I think all that I am after is Best Practice for declaring a new MemoryStream
What is the difference between the following 2 samples:
MemoryStream myStream = new MemoryStream(0x10000);
or
MemoryStream myStream = new MemoryStream();
Obviously, I know that the first example set the initial capacity of the stream. But, both of these have an automatically resizable capacity.
I there any reason why I should use one method as opposed to the other?