在這邊介紹亂數Random的用法首先將Random 實體化Random RAN = new Random();在直接用NextDouble()函數RAN.NextDouble()會回傳Double型態的亂數0.0~1.0 ...
確定! 回上一頁