Gerando Números Aleatórios e Strings em C #

//RANDOM STRINGstring random = System.IO.Path.GetRandomFileName().Replace(“.”, string.Empty);//RANDOM PASSWORD/STRINGstring randomPass = System.Web.Security.Membership.GeneratePassword(10, 0);//RANDOM INTSystem.Random randomInt = new System.Random((int)System.DateTime.Now.Ticks);int start = 1;int size = 1000;int result= randomInt.Next(start, size);source: http://blog.codeeffects.com/Article/Generate-Random-Numbers-And-Strings-C-Sharp

Continuar lendo