adding event handler on event of nullable object
I’m creating some test WinForms project and trying to create items for my ContextMenuStrip at runtime. But, I can’t add an EventHandler to an event ItemClicked using null-conditional operator (?.):
I’m creating some test WinForms project and trying to create items for my ContextMenuStrip at runtime. But, I can’t add an EventHandler to an event ItemClicked using null-conditional operator (?.):