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

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;
主站蜘蛛池模板: 海宁市| 阿瓦提县| 贵阳市| 罗源县| 灵丘县| 若羌县| 雷波县| 新巴尔虎右旗| 获嘉县| 阿荣旗| 文化| 株洲县| 玉龙| 仲巴县| 荆门市| 建昌县| 大姚县| 西丰县| 黄梅县| 曲水县| 交城县| 扶沟县| 青岛市| 金堂县| 龙胜| 岳西县| 汝阳县| 新源县| 涞水县| 通化市| 江西省| 洞口县| 红安县| 大田县| 寿光市| 朝阳市| 台北市| 屏边| 天峨县| 平昌县| 南宁市|