C#使用goto语句 2022-10-21 08:06:32 一般我们在开发的时候,避免使用goto语句,但是debug的时候,可以使用goto语句比较方便用法:<span style="font-size:18px;">public void static main(string[] args) { add(); goto up; //表示跳过delete()方法,执行执行update()方法 delete(); up: update(); }</span>