["..G$ ","|literal number suffixes$","TAORNOOSuffix type: NOOusing System;OOclass ProgramO{OTstatic void Main()OT{NOTT// Use long suffix.OTTNlong l1 = 10000L;NOOTT// Use double suffix.OTTNdouble d1 = 123.764D;NOOTT// Use float suffix.OTTNfloat f1 = 100.50F;NOOTT// Use unsigned suffix.OTTNuint u1 = 1000U;NOOTT// Use decimal suffix.OTTNdecimal m2 = 4000.1234M;NOOTT// Use unsigned suffix and long suffix.OTTNulong u2 = 10002000300040005000UL;OT}O}NSyntax tableNAunsigned intOCharacter: UOExample:T uint x = 100U;AlongOCharacter: LOExample:T long x = 100L;Aunsigned longOCharacter: ULOExample:T ulong x = 100UL;AfloatOCharacter: FOExample:T float x = 100F;AdoubleOCharacter: DOExample:T double x = 100D;AdecimalOCharacter: MOExample:T decimal x = 100M;NExamples of lowercase suffixesNOOLowercase suffix: long x = 10000l;N // Is that 100001 or 10000l?ONUppercase suffix: long x = 10000L;N // It's 10000L.N","A)AEAfA(BL/C| 666666+CE(P+CP6G/CE","Suffixes"," specify number types. They instruct the C# compiler that an integral literal such as 1000 be considered a certain type of number\u2014for example, a long (1000L). We look into how you can add numeric suffixes to numbers. ","Long ","long","570px","210px","Example."," First, 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. ","Literal suffixes on constants actually generate conv instructions. This means they work the same as runtime casts.","The letters"," L, D, F, U, M and UL are appended to the end of the integral literals in the declarations in the Main entry point above. This instructs the C# compiler that 10000 is a long type, not an int type. ","The MSIL generated is similar to using casts such as (long)10000. We can see this in IL Disassembler.","IL Disassembler ","il-disassembler","Review."," We describe the suffixes in more detail. This table indicates the meaning of the letters. We also see examples of the suffixes in the C# programming language. The code statements can be used within programs. ","Lowercase suffixes."," You can also specify lowercase suffixes, such as u, l, ul, f, d and m. But these are easier to confuse with numbers. The letter 'l' is sometimes seen as the number 1. ","Warning: ","The 'l' suffix is easily confused with the digit 1\u2014use L for clarity. The screenshot shows this warning in the IDE.","Summary."," Suffixes can be used on literal numbers in C# programs. This is a way to tell the C# compiler that you want the literal number to be treated as a certain type of number, similar conceptually to a cast. ","The specification defines how numbers are converted when used as operands, but these suffixes can force certain conversions.","Numeric Casts ","numeric-casts"]

%iVBORw0KG;)NSUhEUg?AG4?ACCAgM?ADasxWR)DFBMVEX/6Nn:/+VlZX29va5ksB5)SElEQVR4AWPACZj/f0DmjkqOSjKtQgcLyJccZiEE9SOmP8mXHEaBMBoIo4EwGggryJccvvVKKAogTnJUclRyVHLklgmjkqOS?LWyrsxEHLD)AElFTkSuQmCC%iVBORw0KG;)NSUhEUg?Ai4?ADQBAM?ADSY/es)MFBMVEX:::+FmZmauyMrw8PDY2NicnJxubm55hHlKn94NBRpqDS0LI+TupEuQOv/fou7HNJ+E?AHjElEQVR4AezdsWvcVhwH8K9czpCcJNMOAXOLGwqFQkEleEinV7DHUEjdQdfREPB/0L8g80vcFARxHZJb7tWdPMV00HCL4OGhnSRuCFyXg6O74Ibee34cVk4NdU1DLX2/x+/0yyNLPvyUe4IHAsP8w+zsCKyG+XZvB8xq7m1zYOry6N4eXWryeH+bLjX5/lGdC/PpY7rQhS50oQtd6EIXutCFLnRh6EIXutCFLnShC12a5jJFJV11ly41yTFe9muifS5ZmCHUGvMMG+d6tOifywsXdFRUpF31sqPUEH2V9n/+RQnvLGqFS4lbi5qZBnNRYorM3UcpcqyJHGM7L6cYd4bFA9kml1CPTGP71DQ2Y6vSUwPj0lFK7W6NAwmgNS6Aj6XLoi7SE4H8xPnA2wI67XLJMLnkMsEUALxTxMDn0tw/6EaFyJ1LcNIOF18/lzM9wkzrr/Wxlr7OrMuZegUUAmdqgGBRXaW+PCmOXgSDtv5Ol1gmx0p6UTtdQp0u+0JJ7uv4HMDQhS50oQtd6EIXutCFLnRh6EIXutCFLnShC13oQhe60MVlnmElB0nCeSmxkk2xHrXZJdTnkXHxtVz02pRz6UQHzxKxnvyAO8l9afo4kZs/HiaiDS4zzK0LMEWJmanlvHSShQ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