Code Tips

C# Suffix Examples, Numeric Suffixes

Numeric suffixes, which are also called literal number suffixes, are hints to the compiler that a literal number is of a certain type. Recall that “literal” means a value hard-coded into your program. Investigation revealed that literal suffixes on constants actually generate conv instructions. This means they work the same as runtime casts.

https://gist.github.com/1922826

Comments Off on C# Suffix Examples, Numeric Suffixes