© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
10 replies
SplikZerys

Delegates

Learn delegates and I can't find any information about the following thing:

1. Why when we declare an instance of delegate with its name in class we can't provide it with one more method outside of its declaration? But it works in method as we can see,
2. Why we CAN add method in an instance of delegate during its declaration?

Screenshot and code itself

I want to completely understand why it is so
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Delegates
C#CC# / help
3y ago
Delegates
C#CC# / help
4y ago
✅ Practicing delegates
C#CC# / help
3y ago
❔ Understanding Delegates
C#CC# / help
3y ago