摘要: int i =10;object obj=i;int j=obj;显然第三句不对。The error message form Visual Studio is : Cannot implicitly convert type 'object' to 'int'.不惜进行强制转换才能通过编译。int j=(int) obj; 阅读全文
posted @ 2011-11-18 11:36 xiaoshiyilang 阅读(450) 评论(0) 推荐(0) 编辑