fork(3) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. int[, ,] x = new int[,,]{ {{ 3, 4, 5 }, { 3, 5, 6 }, { 5, 4, 3 }} };
  8. int det_of_x = 1;
  9. foreach (var i in x)
  10. {
  11. det_of_x *= i;
  12. }
  13.  
  14. Console.WriteLine(det_of_x);
  15. }
  16. }
Success #stdin #stdout 0.03s 33904KB
stdin
Standard input is empty
stdout
324000