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

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;
主站蜘蛛池模板: 教育| 都兰县| 库尔勒市| 常德市| 邹城市| 香河县| 车险| 仁布县| 开封市| 泽州县| 湛江市| 维西| 沙洋县| 清徐县| 饶平县| 洪洞县| 光泽县| 乌苏市| 辽宁省| 茂名市| 临沭县| 涪陵区| 福贡县| 抚宁县| 赞皇县| 锡林浩特市| 萨迦县| 库尔勒市| 海淀区| 岚皋县| 高陵县| 新营市| 同德县| 广平县| 永宁县| 车致| 巍山| 泾源县| 巴塘县| 宜宾市| 雷州市|