If your are expecting that the output of Example 1 is ABCDE-0000012345 you are wrong because "E-0" means Scientific notation.
Note: If any of the strings "E", "E+", "E-", "e", "e+", or "e-" are present in the format string and are followed immediately by at least one '0' character, then the number is formatted using scientific notation with an 'E' or 'e' inserted between the number and the exponent. The number of '0' characters following the scientific notation indicator determines the minimum number of digits to output for the exponent. The "E+" and "e+" formats indicate that a sign character (plus or minus) should always precede the exponent. The "E", "E-", "e", or "e-" formats indicate that a sign character should only precede negative exponents.
This method of int32 convert to string with format,maybe can not reverse.
When the format string contains "#".
From MSDN: # Digit placeholder If the value being formatted has a digit in the position where the '#' appears in the format string, then that digit is copied to the result string. Otherwise, nothing is stored in that position in the result string.
Note that this specifier never displays the '0' character if it is not a significant digit, even if '0' is the only digit in the string. It will display the '0' character if it is a significant digit in the number being displayed.
The "##" format string causes the value to be rounded to the nearest digit preceding the decimal, where rounding away from zero is always used. For example, formatting 34.5 with "##" would result in the value 35.
English won't contain arabic characters, so you could check which unicode range they fall in.. Won't help to distinguish many west european languages from eachother though, perhaps spellcheck would help (the language in which there would be the lowest number of errors would be most likely)
when a PDF file is opened during navigation from one page to other page in browser (IE), how the PDF file is attached to internet explore? How can I get the Information about the PDF file opened in internet explorer using c#? I had googled for this, but I doesn't get enough information such that I can do this in c#.
If anyone knows something regarding this, reply here