Algol
But it's still funny to see Pascal old features being introduced as new features in C#.
If you mean nested functions, they were already in Algol 60. Pascal of course copied them from it, Pascal being basically a modernized version of Algol 60 (where "modern" = "circa 1970").