public static string GetTextWithLength(int length)
{
if (length < 0)
{
throw new ArgumentException("Argument length must be greater than zero.");
}
StringBuilder result = new StringBuilder();
while (result.Length < length)
{
result.Append(" " + LoremIpsumText);
}
return result.ToString().Substring(0, length);
}
}