using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication3
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("0x{0:x}", 0xf8 & 0x3f );
Console.Read();
}
}
}
这段代码中"0x{0:x}", 0xf8 & 0x3f是我不是很理解的,于是请教师傅,上网查,得到一点收获,现在与大家分享一下。说到“与”,就想把逻辑关系都说一下。
原文:http://blog.csdn.net/wangdan199112/article/details/18506265