Mega Code Archive

 
Categories / C# Tutorial / Development
 

Custom Format Specifiers

Format Character     Purpose                                           0                    Display zero placeholder    #                    Display digit placeholder    .                    Decimal point    ,                    Group separator    %                    Percent notation      E+0                  Exponent notation E-0 e+0 e-0    \                    Literal character    'ABC'                Literal string "ABC"    ;                    Section separator