Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
lambda funcs C#
using System; namespace Rextester { public class Program { public static void Main(string[] args) { Func<int, int, int> sum = (a, b) => { return a + b; }; int x = 4; int y = 3; int z = sum(x, y); Console.WriteLine(z); } } }
run
|
edit
|
history
|
help
0
Free Tiktok Fans Generator
Random IF OR
Collection Basic
test2
DijkstraAlgo
Generic hierarchy
enum flag comparison
Code
C# constructor in inheritance
Hash plus i minus