fork download
  1. public class Condition
  2. {
  3. public static System.Func<bool>[] ConditionalFunctions = {
  4. (int x, int y) => x > y,
  5. (int x, int y) => x < y
  6. };
  7. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(4,17): error CS1593: Delegate `System.Func<bool>' does not take `2' arguments
prog.cs(4,17): error CS1661: Cannot convert `lambda expression' to delegate type `System.Func<bool>' since there is a parameter mismatch
prog.cs(5,17): error CS1593: Delegate `System.Func<bool>' does not take `2' arguments
prog.cs(5,17): error CS1661: Cannot convert `lambda expression' to delegate type `System.Func<bool>' since there is a parameter mismatch
Compilation failed: 4 error(s), 0 warnings
stdout
Standard output is empty