I am quite new in C# and my professor gave me this code, can you explain how does it work? I am curious about all these "=>" operators, and what is going on in Dictionary.
_operationFunction = new Dictionary<string, Func<int, int, int>>
{
["+"] = (fst, snd) => (fst + snd),
["-"] = (fst, snd) => (fst - snd),
["*"] = (fst, snd) => (fst * snd),
["/"] = (fst, snd) => (fst / snd)
};
_operators.Push(_operationFunction[op](num1, num2));
Func<int, int, int> Operation(String input) => (x, y) =>
(
(input.Equals("+") ? x + y :
(input.Equals("*") ? x * y : int.MinValue)
)
);
_operators.Push(Operation(op)(num1, num2));