using System.Text;
namespace Pizza
{
internal static class StringBuilderExtensions
{
///
/// Extensions for adding new lines of specific value.
///
/// Extended class.
/// Value which will be repeated.
/// Number of lines that will be appended.
public static void AppendLine(this StringBuilder stringBuilder, string value, int numberOfLines)
{
for (int i = 0; i < numberOfLines; i++)
{
stringBuilder.AppendLine(value);
}
}
}
}