Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
C#
/
Delegates and events
What extra restriction does a public event impose compared with a public delegate field?
from Delegates and events
C# 14 / .NET 10
beginner
1 min
What extra restriction does a public event impose compared with a public delegate field?
Outside code can add or remove handlers but cannot replace or invoke the event.
An event can contain only one handler.
An event always invokes handlers asynchronously.
An event cannot use a generic delegate type.
Check
Ask AI about this kata
Report an error
next kata
Which value does this multicast delegate call print?
Predict the output
A new version is available
Reload