It often happens that I have private methods that become very large and contain repetitive tasks, but these tasks are so specific that it makes no sense to make them available to any other part of the code.
Therefore, it would be really cool to create "internal methods" in this case.
Is there any technical (or even philosophical?) Limitation that prevents C # from giving us this? Or am I missing something?
Update since 2016: this is happening and it is called the "local function". See noticeable answer.
Marc
source share