using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Reflection;
namespace TestConsole
{
class Program
{
static void Main(string[] args)
{
Assembly ass = Assembly.Load("Utility, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8670c0844be887c6, processorArchitecture=MSIL");
Type t = ass.GetType("Utility.RandomGenerator");
MethodInfo m = t.GetMethod("GetRandomInt");
Console.WriteLine(m.Invoke(null, null));
ConsoleKey key;
do
{
key = Console.ReadKey().Key;
}while(key != ConsoleKey.Q);
}
}
}