feat: paste creation, utilities, revert to gzip, grammar fixes etc

This commit is contained in:
2025-11-25 01:17:16 -05:00
parent 6ec1a7fa7b
commit 93daa2e1a2
19 changed files with 949 additions and 23 deletions
+13
View File
@@ -0,0 +1,13 @@
namespace SharpbinV3
{
public class Utilities
{
public static string GenerateRandomString(int length)
{
const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
var random = new Random();
return new string(Enumerable.Repeat(chars, length)
.Select(s => s[random.Next(s.Length)]).ToArray());
}
}
}