Hello

I am trying to follow a tutorial written for silverlight and C# and convert
the code to Iron Python. However I am unsure about how to use this code as
IronPython

        Byte[] rndBytes = new Byte[10];
        RNGCryptoServiceProvider rndC = new RNGCryptoServiceProvider();
        rndC.GetBytes(rndBytes);
        int seed = BitConverter.ToInt32(rndBytes, 0);
        Random rand = new Random(seed);
        return rand.Next(min, max);

what modules do I need. How do I use Byte in IronPython etc

Any ideas advice *cheers
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to