Add project files.
This commit is contained in:
16
TomatenMusicCore/Util/RandomUtil.cs
Normal file
16
TomatenMusicCore/Util/RandomUtil.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
|
||||
namespace TomatenMusic.Util
|
||||
{
|
||||
class RandomUtil
|
||||
{
|
||||
|
||||
public static string GenerateGuid()
|
||||
{
|
||||
return String.Concat(Guid.NewGuid().ToString("N").Select(c => (char)(c + 17))).ToLower();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user