Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
function in event
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class SomeClass { public Func<bool> UpdateCanExecute = () => { Console.WriteLine("0"); return true; }; public bool DoIt() { return UpdateCanExecute.Invoke(); } } public class Program { public static void Main(string[] args) { var s = new SomeClass(); s.UpdateCanExecute += () => { Console.WriteLine("1"); return false; }; s.UpdateCanExecute += () => { Console.WriteLine("2"); return true; }; Console.WriteLine(s.DoIt()); Console.WriteLine("Done..."); } } }
run
|
edit
|
history
|
help
0
LCM Q 3
Puzz1
[REDACTED] database V0.1.6
Amortizacion de prestamos con el metodo Frances
Hallo world
Validate or get the check digit of a Windows activation installation ID / confirmation ID
Date example
comparer implementation
Hello-Heath-World
Array merge