Fundamentals11 / 12
Up next

Methods

// a local function; => is an expression body
int Add(int a, int b) => a + b;
Console.WriteLine(Add(2, 3));
What you're solving

local functions with typed params