I am trying to generate an output file using StreamWriter in C# which contains Credit Card (CC) numbers. As long as the CC Number is 15 digits long, the StreamWriter works just fine. But when the CC Number length is 16 digits long, the StreamWriter replaces the last digit with 0 (zero). Any idea how to fix it? Please try to help.
Thank you very much in advance!