判断是不是奇数

static bool CheckIsOddNumber(int num)
{
return (num & 1) == 1;
}

posted @ 2016-02-17 15:23  zslm___  阅读(146)  评论(0编辑  收藏  举报