KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Typically we use this code: private EventHandler _updateErrorIcons; public event EventHandler UpdateErrorIcons { add { _updateErrorIcons += value; } remove { _updateErrorIcons -= value; } } Is there a similar shortcut like with automatic properties? Something like: public event EventHandler UpdateErrorIcons { add; remove; }
Tags (comma-separated)
Save Edits
Cancel