Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.40 KB | None | 0 0
  1. using System;
  2. using System.IO;
  3.  
  4. class Program
  5. {
  6.    static void Main( string[] args )
  7.    {
  8.       Stream stdin = Console.OpenStandardInput();
  9.       Stream stdout = Console.OpenStandardOutput();
  10.       byte[] buffer = new byte[ 4096 ];
  11.       for( int numBytes = stdin.Read( buffer, 0, 4096 ); numBytes > 0; numBytes = stdin.Read( buffer, 0, 4096 ) )
  12.          stdout.Write( buffer, 0, numBytes );
  13.    }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement