a random extension for .net