会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
海纳百川,有容乃大;壁立千仞,无欲则刚。
杭州笛佛|菠萝派|新esAPI|吉客云
博客园
首页
新随笔
联系
管理
订阅
2011年3月10日
++x和x++
摘要: class MainClass{ static void Main() { double x; x = 1.5; Console.WriteLine(++x); Console.WriteLine(x); x = 1.5; Console.WriteLine(x++); Console.WriteLine(x); }}结果值为:2.52.51.52.5
阅读全文
posted @ 2011-03-10 14:34 有容乃大
阅读(308)
评论(0)
推荐(0)
编辑
公告