Mark Davis discusses a C# feature….

and it isn’t about Whidbey, oh my… 🙂

Visual C# 2003 “Implement Interface” feature

Just discovered a great tip for Visual C# 2003.

If you implement an interface (or event/delegate) on your class and don’t want to type all the methods, just type the interface name in your class derivation list and Intellisense will display a tooltip saying “Press TAB to insert stubs for <interfacename>”. Pressing ‘TAB’ will insert stub method implemenations into your class. Very cool timesaver!

Author: Duncan Mackenzie

I'm the Developer Lead for the Channel 9 team, formerly worked on MSDN as a developer, content strategist and author.

Leave a Reply