Sunday, 28 April 2013

Can event’s have access modifiers ? | C#.Net Interview Questions

Event’s are always public as they are meant to serve every one register ing to it. But you can access modifiers in events.You can have events with protected keyword which will be  accessible only to inherited classes.You can have private events only for object in that class.

No comments: