官术网_书友最值得收藏!

How to do it...

  1. Add the following lines of code to your project. It is clear that the newNum literal is easier to read, especially if you read it in groups of three.
        var oldNum = 342057239127493;
var newNum = 342_057_239_127_493;
WriteLine($"oldNum = {oldNum} and newNum = {newNum}");
  1. If you run the console application, you will see that the values of the two number literals are exactly the same:
  1. The same logic is true for binary literals. You can now express them as follows:
        var binLit = 0b1010_1100_0011_0010_0001_0000;
主站蜘蛛池模板: 秦安县| 平潭县| 乌兰浩特市| 安康市| 于都县| 萨嘎县| 霍林郭勒市| 遂溪县| 阳城县| 博兴县| 林周县| 新巴尔虎左旗| 连州市| 玉溪市| 米林县| 秦安县| 铜梁县| 津市市| 海南省| 绵阳市| 华宁县| 广宁县| 云梦县| 宜兴市| 宁城县| 兴化市| 北川| 云林县| 宝应县| 广元市| 麦盖提县| 亚东县| 大余县| 江西省| 鄂托克旗| 三原县| 宁阳县| 克拉玛依市| 堆龙德庆县| 利辛县| 八宿县|