mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-04 09:07:41 -08:00
Use common library in Love
This commit is contained in:
16
58_Love/csharp/StringBuilderExtensions.cs
Normal file
16
58_Love/csharp/StringBuilderExtensions.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Text;
|
||||
|
||||
namespace Love;
|
||||
|
||||
internal static class StringBuilderExtensions
|
||||
{
|
||||
internal static StringBuilder AppendLines(this StringBuilder builder, int count)
|
||||
{
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
builder.AppendLine();
|
||||
}
|
||||
|
||||
return builder;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user