C#,如何制作关键字来实现特定命令
我需要正确的C#,如何制作关键字来实现特定命令,c#,if-statement,command,key,C#,If Statement,Command,Key,我需要正确的命令的帮助(请阅读下面code中我的问题,以便您准确理解我的问题, 方法:静态void Main(字符串[]args)) 尝试在字符串中输入“存款”或“取款”,然后在if中比较该字符串 string type = 'Withdraw' if(type == 'withdraw) {...} string type = 'Withdraw' if(type == 'withdraw) {...}
命令的帮助(请阅读下面code
中我的问题,以便您准确理解我的问题,
方法:静态void Main(字符串[]args)
)
尝试在字符串中输入“存款”或“取款”,然后在if中比较该字符串
string type = 'Withdraw' if(type == 'withdraw) {...}
string type = 'Withdraw' if(type == 'withdraw) {...}