本文介绍了在C#中生成随机数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。

如何在(a)和(b)之间生成n个随机数,这些数字大概是(x)?



我尝试了什么:



hi。

如何在两者之间生成n个随机数(a)和(b)围绕像(x)这样的数字?

hi.
how can i generate n random number between (a) and (b) that are around a number like (x)?

What I have tried:

hi.
how can i generate n random number between (a) and (b) that are around a number like (x)?

推荐答案



引用:

我如何在(a)和(b)之间生成n个随机数,这些数字类似于( x)?

how can i generate n random number between (a) and (b) that are around a number like (x)?



C#有随机函数,第一步是读取电子文档。


C# have random function, first step is to read the documentation.


这篇关于在C#中生成随机数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 03:02
查看更多