mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 15:16:33 -08:00
9 lines
233 B
C#
9 lines
233 B
C#
using System.Text;
|
|
|
|
namespace Diamond;
|
|
|
|
internal static class StringBuilderExtensions
|
|
{
|
|
internal static StringBuilder PadToLength(this StringBuilder builder, int length) =>
|
|
builder.Append(' ', length - builder.Length);
|
|
} |