views:

80

answers:

2

I know this is quite lazy but, is there any way on Visual C# 2010 Express to auto-generate an interface implementation? (I don't mean at runtime but at design time, like a code snippet). Perhaps with a third party utility?

+3  A: 

Right click on the interface name, you should see a menu option "Implement Interface" or along those lines.

Babak Naffas
+2  A: 

I'm not familiar with Express enough to know if they removed this feature, but you should just be able to right-click your public class MyClass : MyInterface statement and choose "Implement Inteface".

If this is removed in Express, you can always use Resharper for this feature.

womp
R# (and other plugins) are not supported in Express versions.
driis
Hmm... excellent point. Thank goodness I never have to use Express ;)
womp
Nothing wrong with the Express versions for the less than professional coders amongst us. :)
Andy