E
Erick Sasse
This is not really a C# question, but I'm not sure which is the best
group to post it. Please, point me to the right one.
What's the best way to create a string from a repeated char? For
instance, I pass char = "*" and size = 5, and get a string = "*****".
I could write a function to loop size times and append to a
StringBuilder, but maybe there is something ready in the framework.
Thanks.
group to post it. Please, point me to the right one.
What's the best way to create a string from a repeated char? For
instance, I pass char = "*" and size = 5, and get a string = "*****".
I could write a function to loop size times and append to a
StringBuilder, but maybe there is something ready in the framework.
Thanks.