Functional Programming, Csharp, Programming.
would be next: static class Math { public static int Multiply(int a, int b) { return a * b; } } To eliminate side effects, a function should not affect anything external. Exceptions It may not be so clear, but the example below also violates the “no side effect” rule: static class Math { public