Visual Studio - automatically implement all inherited methods from an interface

后端 未结 5 912
借酒劲吻你
借酒劲吻你 2021-02-18 21:19

Let\'s say we have a class called MyClass.

public class MyClass

We also have an interface like so:

public interface MyInterface         


        
5条回答
  •  被撕碎了的回忆
    2021-02-18 21:47

    For C#, you can right click the 'MyInterface' and choose 'Implement Interface' from the context menu. I believe there is a similar (but slightly different) shortcut for VB.NET.

提交回复
热议问题