fork download
  1. using System;
  2.  
  3. using System.Collections.Generic;
  4.  
  5. using System.ComponentModel;
  6.  
  7. using System.Text;
  8.  
  9. class StringBuilderTest
  10. {
  11. static void Main()
  12. {
  13. string text = null;
  14.  
  15. text = Clipboard.GetText();
  16. // Keep the console window open in debug mode.
  17. System.Console.WriteLine(text);
  18. System.Console.ReadKey();
  19. }
  20. }
  21.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(15,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