Archived
1
0
This repository has been archived on 2026-03-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
SomeLab/15.2/Program.cs
2025-11-15 20:25:57 +08:00

31 lines
685 B
C#

using System;
using System.Threading;
namespace _15._2
{
public class RandomObjectDemo
{
static void RunIntRan(Random randObj)
{
for (int i = 0; i < 6; i++)
{
Console.Write("{0,10}", randObj.Next());
}
for (int i = 0;i < 6; i++)
{
Console.Write('{1,10}',randObj.NextDouble());
}
}
static void Fixseed(Random randObj)
{
Random fixseed = new Random();
fixseed.Next();
}
static void autoseed()
{
Thread.Sleep(1);
Console.WriteLine("时间");
}
}
}