propertyCls.ZipCode = (int) Console.ReadLine(); //属性ZipCode为int型
1、这里提示:无法将类型“string”转换为“int”...
private string city;
...
2、如何判断变量city是否被赋值,在VB里有Null和Empty常量,请问在C#怎么办?