I would like to use in C# something like macros known in C/C++... Sadly it seems C# does not supports macros... However i have a lot of macros in mind and i dont want to write the same codeblock (macro) again and again inside my project and i dont want to use public methode, because this would be slow down the code, even when its called x times inside a loop.
So any idea, how to use something like macros in C#?
#define MULT(x, y) x * y // just as simple example