How come that delegates can call private functions, as in (inspired by MSDN):
ElapsedEventHandler eh = new ElapsedEventHandler(OnTimedEvent);
...
private void OnTimedEvent(object source, ElapsedEventArgs e) { }
Smelly.
No comments:
Post a Comment