4
I wanted to copy the text from one text file to another with a different name and add a - at the beginning of the line of the text file.
For example:
I have a text file with the following text "0000192" and when copying to another text file I wanted it to look like this "-0000192".
But I don’t know how I can do it .
I’m creating the first text file like this :
string devolta = Convert.ToString((bsoItemTrans.Transaction.TotalAmount * 100).ToString("-000000000"));
System.IO.File.WriteAllText(@"C:\movedir\SUBTOTALE.txt", devolta);