I've switch from VB.NET to C# several months ago, while there are a lot of features I really like in C#, believe it or not, there are some features that I really miss from VB.NET.
One of those features is whenever I implemented an interface in VB.NET the stub properties and methods were automatically added for me.
Is there any way to do this in C#?
Right click on the name of the interface in the class that implements it, click 'Implement Interface' then click on either of the following two:
Implement Interface: Implements stub props and methods for you.
Implement Interface Explicitly: Implements stub props and methods for you, but also explicitly names the interface the stub is for.
Also you can use the shortkey CTRL + ALT + F10 and then hit ENTER. Or you use CTRL + > :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With