Added random class

Added random class, new string
extension methods and updated the XAML documentation.
This commit is contained in:
Stone-Red-Code
2021-05-10 17:23:47 +02:00
parent ad540a5a39
commit 38d113c361
96 changed files with 1817 additions and 283 deletions
@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Stone_Red_Utilities.RandomExtentions;
namespace Stone_Red_C_Sharp_Utilities_Test
{
internal class Program
{
private enum MyEnum
{
a,
b,
c
}
private static void Main()
{
Random rnd = new Random();
MyEnum randomItem = rnd.NextEnum(new MyEnum());
Console.WriteLine(randomItem);
}
}
}