fork download
  1. using System;
  2. class MainClass {
  3. unsafe public static void Main (string[] args) {
  4. fixed (char* r = "helloworld".ToCharArray()) {
  5. char* p = r;
  6. while (*p != 0)
  7. Console.WriteLine("{0:X}", (int) *p++);
  8. }
  9. }
  10. }
  11.  
  12.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(3,9): error CS0227: Unsafe code requires the `unsafe' command line option to be specified
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty