Sorry if this question is too simple or easy.
I just started studying Delegates using C#. When I tried to declare one inside a function I got design time errors, but when I declare the same Delegate at class level, it works fine. Why?
If matters this is the code: delegate void Test();