fork(1) download
  1. using System;
  2. using System.Linq;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. float[] sizeEdge = new float[] { 12f, 43f, 556f, 98f };
  9. int maxIndex = Array.IndexOf(sizeEdge, sizeEdge.Max());
  10. Console.WriteLine(sizeEdge[maxIndex]);
  11. }
  12. }
Success #stdin #stdout 0.04s 33992KB
stdin
Standard input is empty
stdout
556