是否可以创建变量,并为其分配一行代码,例如:
ButtonClicked = (MessageBox.Show("Hello, World!"));
...所以当我使用变量时,它将执行代码行.
c# variables
c# ×1
variables ×1