How to generate method stubs automatically in VS 2008 or using Coderush Express?

Recently I implemented an interface which had some 130 members that i should implement (C#, but i think thats irrelevant).

How can i generate the stubs for all those automatically, in VS 2008

Edit:If its not possible in VS 2008, i've also installed Coderush Express, can some one guide me on how to do that with CR Express ?

Answers


Left click on the interface, select "implement interface."

public class Whatever : IXmlSerializable

You need to click near the "I" that has a little underline.

Also, other tools such as Resharper and DevExpress do it for you too.

Are you using VS.NET Professional?


In Visual Studio, if you click on the Interface you're implementing, you'll see a little menu option. Click on that and select "Implement Interface". This should produce all the stubs.


 public class YourClassName : IComparable

You can also right click on the interface --> Implement Interface --> Implement Interface.

Does the same as Kris and Tenaciouslmpy says.


Need Your Help

syncfusion context sensitive menu

c# winforms syncfusion

I am using the syncfusion grid control. To this I've added a context sensitive menu

How do I calculate the md5 checksum of a file in Python?

python python-3.x md5 md5sum

I have made a code in python that checks for an md5 in a file and makes sure the md5 matches that of the original. Here is what I have developed: