The article https://habr.com/ru/post/143925/ describes how delegates can be used to call + - / * methods (all with two variables) on a self-written calculator.
How to add methods with one variable (for example, factorial of a number) or with three variables (for example, determining the volume of a rectangular parallelepiped based on the lengths of three edges: x * y * z)?
DefineOperation()method & adding 2 necessary dictionaries will help you. - Bulson