如何在C#中采用随机字符 [英] how to take random characters in c#
本文介绍了如何在C#中采用随机字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用C#.net
I would like to get random characters using C#.net
推荐答案
.Net包含随机字符.Net包含 ^ ]类,可用于生成随机数.您也可以使用此类来生成随机字符.
请看一下这篇文章,以获取启发:
http://www.dotnetperls.com/random-lowercase-letter [
.Net contains a Random [^]class which can be used to generate random numbers. You can make use of this class to generate random characters as well.
Take a look at this article for inspiration:
http://www.dotnetperls.com/random-lowercase-letter[^]
http://www.dotnetperls.com/random-string [ ^ ]
http://codereview.stackexchange.com/questions/5983/random-string-generation [ ^ ]
http://www.dreamincode.net/forums/topic/65704-create -random-numbers-and-alphabet/ [
http://www.dotnetperls.com/random-string[^]
http://codereview.stackexchange.com/questions/5983/random-string-generation[^]
http://www.dreamincode.net/forums/topic/65704-create-random-numbers-and-alphabet/[^]
这篇关于如何在C#中采用随机字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文