fork download
  1. var cells =
  2. from x in Enumerable.Range(0, map.Width)
  3. from y in Enumerable.Range(0, map.Height)
  4. select Tuple.Create(x, y);
  5.  
  6. var maxPriorityCell = cells.MaxBy(cell => cellPriorities[cell.Item1, cell.Item2]);
  7.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(1,0): error CS1525: Unexpected symbol `var'
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty