会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Kanas.Net Blog
博客园
首页
新随笔
联系
订阅
管理
2005年6月30日
判断一个整数是否是奇数(C#版)
摘要: 这笑话有些老了,现在写一个C#版的。 判断一个整数是否是奇数: // 现代流行的"程序员"public static bool IsOdd(int n) { while (true) { switch (n) { case 1: return true; case 0: return false; ...
阅读全文
posted @ 2005-06-30 09:51 双鱼座
阅读(3826)
评论(9)
推荐(2)
编辑
公告