Skip to content

Instantly share code, notes, and snippets.

@BanksySan
Created May 7, 2020 11:32
Show Gist options
  • Select an option

  • Save BanksySan/d1d707d6918c09dcd7de235f2792c388 to your computer and use it in GitHub Desktop.

Select an option

Save BanksySan/d1d707d6918c09dcd7de235f2792c388 to your computer and use it in GitHub Desktop.
Blog: Writing a Concurrent .NET Stream (1)
var memoryStream = new MemoryStream();
Console.WriteLine("CanRead = " + memoryStream.CanRead);
Console.WriteLine("CanWrite = " + memoryStream.CanWrite);
Console.WriteLine("CanSeek = " + memoryStream.CanSeek);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment