fork download
  1. class StringBuilderTest
  2. {
  3. static void Main()
  4. {
  5. string text = null;
  6.  
  7. text = Clipboard.GetText();
  8.  
  9. // Keep the console window open in debug mode.
  10. System.Console.WriteLine(text);
  11. System.Console.ReadKey();
  12. }
  13. }
  14.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(7,16): error CS0103: The name `Clipboard' does not exist in the current context
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty