Stream consumption - C#