首页 >> 文摘 >> C#

Bool类型使用

采集日期:2008-5-3作者:denuvead(注:本数据由系统自动采集,内容与BHCODE无关)
using System;using System.Collections.Generic;using System.Text;namespace @bool...{    class Program    ...{        static void Main(string[] args)        ...{            bool i = true;            char c = '0';            Console.WriteLine(i);            i = false;            Console.WriteLine(i);            bool Alpha;            if(Alpha = (c > 64 && c < 123))            ...{                Console.WriteLine(Alpha);            }            else                Console.WriteLine("c=<64或者c>=123"
本周推荐
MORE
热点关注
MORE