What is the idiomatic naming convention for local functions in C# 7 [closed]
My standard is always PascalCase, also spell out the full word. I don’t like abbreviations as they can have multiple meanings. So, in your PascalCase scenario, I would spell out the ‘Calc’ word to be the following: public static int Factorial(int n) { return CalculateFactorial(n); int CalculateFactorial(int number) => (number < 2) ? 1 : … Read more