Letter after a number, what is it called?
问题 What is this called? double d1 = 0d; decimal d2 = 0L; float d3 = 0f; And where can I find a reference of characters I can use? If I want to cast 0 to short , which letter I need? 回答1: The best source is the C# specification (it's in section “2.4.4. Literals” in version 4). The relevant bits: The type of an integer literal is determined as follows: If the literal has no suffix, it has the first of these types in which its value can be represented: int, uint, long, ulong. If the literal is