0

In Eclipse I can create a class with stub methods auto-generated for an interface. Surely this works in Visual Studio somehow, but for the life of me, I can't figure out how...

Any thoughts?

4 Answers 4

4

Yes you can. Type the interface name as usual and look for a smart tag to pop underneath the interface name. Expand that and it will give you menu options for implementing the interface.

The keyboard shortcut for this is Control + ..

Sign up to request clarification or add additional context in comments.

Comments

2

Here's a good article on the code refactoring functionality in Visual Studio 2005.

Refactoring C# Code Using Visual Studio 2005

Comments

1

Type the name of the interface and either right click it (using the smart tag), or, my personal favorite, press ctrl + point. (No need to reach for the mouse ;) ).

Comments

-1

In vb.net you just write class name implement interface [press enter here]

1 Comment

Why was this downvoted? The question does not tell what language he wanted help for and in VB.net its just a enter away!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.