Hack Forums
[.NET] A Custom Rich Randomizer Class - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] A Custom Rich Randomizer Class (/showthread.php?tid=5742215)



A Custom Rich Randomizer Class - Barret - Oct 24, 2017

The idea already existed in several other projects but i just tweaked and brushed it up to nice class, the randomizer has a buffer (sequence) that keeps rotating each cycle (random call)

Supports:
  • Byte

  • Int16/UInt16 + Array

  • Int32/UInt32 + Array

  • Int64/Uint64 + Array

  • (Float64) Doubles + Array

  • (Float32) Singles

  • Boolean

  • Char

  • String


Pastebin: https://pastebin.com/vdjEWBnw  (update 2)