- C# 7 and .NET Core Cookbook
- Dirk Strauss
- 48字
- 2025-04-04 19:28:52
Getting ready
Number literals can sometimes be difficult to read. This is why C# 7.0 introduces the underscore (_) to act as a digit separator inside of number literals. C# 7.0 also introduces binary literals, which allow you to specify bit patterns directly without needing to know hexadecimal.