add 00_Alternate_Langage folder and move alternate ports there

This commit is contained in:
Jeff Atwood
2022-03-15 20:49:07 -07:00
parent a0931700e9
commit 43f2ec013a
1789 changed files with 85900 additions and 446 deletions

View File

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