[Solved] How to add bulk number of white spaces in C# code? [closed]


// Init a string containing 12 whitespaces.
var str = new string(' ', 12);

// Append string to file
File.AppendAllText("myfile.txt", str);

1

solved How to add bulk number of white spaces in C# code? [closed]