First of all, I don't even know what to use when passing on 4 parameters but no return value, I'll just use Func as an example.
I do not want to use Dictionary.Add to insert my function, I want it to be inside while initializing the dictionary.
Dictionary<string, Func<int, int, int, int>> types = new Dictionary<string,
{"Linear", Func<int, int, int, int>> //idk how to write this part
{
code here
}}