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

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;
主站蜘蛛池模板: 辽阳市| 栖霞市| 博客| 垦利县| 大安市| 元阳县| 宁都县| 江永县| 阿克陶县| 会东县| 商都县| 禄丰县| 杭锦旗| 胶南市| 高陵县| 新泰市| 吴堡县| 丰镇市| 友谊县| 自贡市| 彭泽县| 九江市| 沅陵县| 临湘市| 陕西省| 西乌| 永年县| 肇州县| 云和县| 固阳县| 交口县| 城固县| 马龙县| 徐闻县| 新建县| 兴仁县| 鄂托克旗| 平泉县| 墨玉县| 贵州省| 长汀县|