Auto-generate an interface implementation in C#?

前端 未结 3 961
情深已故
情深已故 2020-12-16 11:57

I know this is quite lazy but, is there any way on Visual C# 2010 Express to auto-generate an interface implementation? (I don\'t mean at runtime but at design time, like a

3条回答
  •  情书的邮戳
    2020-12-16 12:22

    Right click on the interface name, you should see a menu option "Implement Interface" or along those lines.

    With the cursor on the interface name, you can also press CTRL + . to get the same context menu and options.

提交回复
热议问题