fork download
  1. using System;
  2.  
  3. public struct Testing
  4. {
  5. public int i;
  6. public double d;
  7. public string s;
  8. }
  9.  
  10. public class Test
  11. {
  12. public static void Main()
  13. {
  14. Testing test = new Testing { s="hello" };
  15. Console.Out.WriteLine(test.i.ToString() + " " + test.d.ToString());
  16. }
  17. }
Success #stdin #stdout 0.03s 33952KB
stdin
Standard input is empty
stdout
0 0