I have a class which has 10 methods. What i want is to create an interface of that class, i.e the interface will contain only the signature of those 10 methods.
Can it be done easily in .NET using Visual studio?
I am asking this question because I am changing the architecture of my project and for every class present in my project i need an interface.
If you are using VS 2010 you can do this by just going to the Refractor Menu and click Extract Interface, you can also use the key board short cut Ctrl+R, I
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