mirror of https://github.com/quasar/Quasar.git
Forgot to initialize const string array
This commit is contained in:
parent
d100c47091
commit
8cbab66bf8
|
@ -9,7 +9,7 @@ public static class Helper
|
|||
{
|
||||
private const string CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
||||
private static readonly Random _rnd = new Random(Environment.TickCount);
|
||||
private const string[] sizes = { "B", "KB", "MB", "GB" };
|
||||
private const string[] sizes = new string[] { "B", "KB", "MB", "GB" };
|
||||
|
||||
public static string GetRandomFilename(int length, string extension)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue