Initializes a new instance of the MemoryStream class with an expandable capacity initialized to zero.
Assemblies: mscorlib (in mscorlib.dll)
System.IO (in System.IO.dll)
The capacity of the current stream automatically increases when you use the SetLength method to set the length to a value larger than the capacity of the current stream.
This constructor exposes the underlying stream, which GetBuffer returns.
.NET FrameworkSupported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0
.NET Framework Client ProfileSupported in: 4, 3.5 SP1
Portable Class LibrarySupported in: Portable Class Library
.NET for Windows Store appsSupported in: Windows 8
Supported in: Windows Phone 8.1
Supported in: Windows Phone Silverlight 8.1
Supported in: Windows Phone Silverlight 8