I\'m getting a string as a parameter.
string
Every string should take 30 characters and after I check its length I want to add whitespaces to the end of the st
you can use Padding in C#
eg
string s = "Example"; s=s.PadRight(30);
I hope It should be resolve your Problem.