主题:哪里错了
using System;
class DataBool
{
public static void Main()
{
bool b;
b=False;
Console.WriteLine(" b is {0} ", b);
b=True;
Console.WriteLine("b is {0}", b);
//一个布尔值能够控制的if语句
if (b) Console.WriteLine("This is executed. ");
b=False;
if (b) Console.WriteLine("This is not executed. ");
//运算关系符的结果是一个布尔值
Console.WriteLine("10>9 is {0}",(10>9));
}
}
哪里错了哦
class DataBool
{
public static void Main()
{
bool b;
b=False;
Console.WriteLine(" b is {0} ", b);
b=True;
Console.WriteLine("b is {0}", b);
//一个布尔值能够控制的if语句
if (b) Console.WriteLine("This is executed. ");
b=False;
if (b) Console.WriteLine("This is not executed. ");
//运算关系符的结果是一个布尔值
Console.WriteLine("10>9 is {0}",(10>9));
}
}
哪里错了哦