Archived
1
0

optimise files

This commit is contained in:
2025-11-25 20:14:10 +08:00
Unverified
parent bb4a37acc4
commit 4e148364a9
171 changed files with 6555 additions and 0 deletions

11
CS/15.2/15.2.csproj Normal file
View File

@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>_15._2</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

25
CS/15.2/15.2.sln Normal file
View File

@@ -0,0 +1,25 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.14.36623.8 d17.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "15.2", "15.2.csproj", "{19E0F84F-ABD6-4CA7-A1FE-ECFA8580D0CA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{19E0F84F-ABD6-4CA7-A1FE-ECFA8580D0CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19E0F84F-ABD6-4CA7-A1FE-ECFA8580D0CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19E0F84F-ABD6-4CA7-A1FE-ECFA8580D0CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{19E0F84F-ABD6-4CA7-A1FE-ECFA8580D0CA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {99434B3A-CA5C-4FB3-AB1F-F7DA100B86A5}
EndGlobalSection
EndGlobal

30
CS/15.2/Program.cs Normal file
View File

@@ -0,0 +1,30 @@
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("时间");
}
}
}