C# 7.0 introduces Number literals as well as Binary Literals
These are completely new features that adds syntactic sugar to C# while dealing with number and binary data.
You can now declare numeric variables as below while adding (Underscore) _ as a separator for readability. This is handy while dealing with large numbers
One important thing to understand about these separator literals is that these are ignored by compiler while evaluating the value and are just meant to provide readability.
Similar feature can be used with binary/Hexadecimal numbers to clearly define bit patterns
All code samples are available at my GitHub profile
I am a corporate trainer and solution architect and have a great team of software professionals. Please contact in case you need our services by sending email to email@example.com. Here is our company website .