fork(1) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. A();
  8. Console.WriteLine("Hello world");
  9. }
  10.  
  11. public static unsafe void A()
  12. {
  13. string s = string.Intern("Hello world");
  14. fixed (char* p = s)
  15. {
  16. p[6] = 'b'; p[7] = 'u'; p[8] = 'g'; p[9] = 's'; p[10] = '!';
  17. }
  18. }
  19. }
Success #stdin #stdout 0s 131776KB
stdin
Standard input is empty
stdout
Hello bugs!