Alt+Shift+F10 /Ctrl+. -打开执行改名,实现接口和抽象类的小窗口(还可以用Ctrl+.,不过有的中文输入法用到这个)
Ctrl + K +D -格式化代码
快速代码模板
“cw” + 双击tab键 - Console.WriteLine();
“mbox” + 双击tab键 - Messagebox.Show();
"prop"+ 双击tab键 -含有Get、Set访问器的属性块
public int MyProperty { get; set; }
"propfull" + 双击tab键 -具有完整get、set访问器的属性快
private int myVar;
public int MyProperty
{
get { return myVar; }
set { myVar = value; }
}
"ctor" + 双击tab键 -构造函数代码片段(class里面)
public PersonName()
{
}