阅读程序写出运行结果2

来源:互联网 发布:linux系统u盘端口 编辑:程序博客网 时间:2024/05/16 14:32

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication3
{
    class Program
    {
        static void Main(string[] args)
        {
            int myInt = 0;
            Console.WriteLine("{0},{1}",myInt<10,(0<=myInt)&&(myInt<=5));
            Console.ReadKey();
        }
    }
}

 

说明:运行结果为true,true
0 0
原创粉丝点击