VB.NET Features creep into C#

From Jeff Key's Blog:

Delegate types no longer need to be explicitly instantiated. For example:

button.Click += new EventHandler(AddClick);

can be expressed by:

button.Click += AddClick;

This is one of those things I've always like about VB.NET. Interesting to see it making it's way into C#.

1 Comment

Comments have been disabled for this content.