Is it possible to declare a method within another method in C#?
For example like that:
void OuterMethod() { int anything = 1; InnerMethod();
Take a look at anonymous methods. I think that's what you're looking for.