A long time ago I used to code in Delphi/Pascal, and a very nice feature was to be able to declare a procedure as internal to another procedure. I can't remember the syntax, but it meant you could have code all in the "same" place and not have declare the inner procedure somewhere else in your code.
Is there a way to achieve something like that in C#?