diff --git a/FourOperations/.vs/FourOperations/v16/.suo b/FourOperations/.vs/FourOperations/v16/.suo index c97dbe4bc844dbe072e913268f070148fcddbca2..3aabd9cbaf8a6ba4dc84c68ecebbf2cb6d8ff644 100644 Binary files a/FourOperations/.vs/FourOperations/v16/.suo and b/FourOperations/.vs/FourOperations/v16/.suo differ diff --git a/FourOperations/FourOperations/BaseData/BasicData.cs b/FourOperations/FourOperations/BaseData/BasicData.cs index 3c7578f2d0919a67eb0ab17b6dd1a446a8e43dd3..96ba46e3c47110bce4fb58d560ec7fdcfdad23d2 100644 --- a/FourOperations/FourOperations/BaseData/BasicData.cs +++ b/FourOperations/FourOperations/BaseData/BasicData.cs @@ -11,6 +11,8 @@ public readonly string[] ArrayTheme = new string[10];//题目集合 public readonly string[] ArrayAnswer = new string[10];//答案集合 + public abstract void RandomNumber(); + public abstract void AddThemeCount(); public abstract void SubThemeCount(); diff --git a/FourOperations/FourOperations/ClassTheme/FourTheme.cs b/FourOperations/FourOperations/ClassTheme/FourTheme.cs index 2f78e4509c7a94bf737951682ca1f794fcce0683..993aeab3b99fbbea0b15a0c748ec8baf36987412 100644 --- a/FourOperations/FourOperations/ClassTheme/FourTheme.cs +++ b/FourOperations/FourOperations/ClassTheme/FourTheme.cs @@ -186,5 +186,10 @@ namespace ConsoleApp2.Themeup { throw new NotImplementedException(); } + + public override void RandomNumber() + { + throw new NotImplementedException(); + } } } diff --git a/FourOperations/FourOperations/ClassTheme/OneTheme.cs b/FourOperations/FourOperations/ClassTheme/OneTheme.cs index 6698aa3ea71c563f6919acf0761dd84a6b9bebfa..90962e2864e980718c6adb993a7634e93659bf36 100644 --- a/FourOperations/FourOperations/ClassTheme/OneTheme.cs +++ b/FourOperations/FourOperations/ClassTheme/OneTheme.cs @@ -1,10 +1,12 @@ using System; using System.IO; +using System.Xml; namespace ConsoleApp2.Base { public class OneTheme : BasicData { + public int Num { get; set; } private readonly Random random = new Random(); /// /// 一年级出题范围:20以内加减 @@ -16,7 +18,7 @@ namespace ConsoleApp2.Base /// /// 随机生成两位数0-20的范围 /// - public void Randomnum() + public override void RandomNumber() { BasicDataA = random.Next(0, 20); BasicDataB = random.Next(0, 20); @@ -29,7 +31,7 @@ namespace ConsoleApp2.Base { try { - Randomnum(); + RandomNumber(); if (BasicDataA > 20 && BasicDataB > 20) { throw new Exception("A>20 并且 B>20"); @@ -51,7 +53,7 @@ namespace ConsoleApp2.Base /// public override void SubTheme() { - Randomnum(); + RandomNumber(); try { if (BasicDataA > 20 && BasicDataB > 20) @@ -72,7 +74,7 @@ namespace ConsoleApp2.Base BasicDataA -= BasicDataB; Theme = BasicDataA + "-" + BasicDataB; Answer = BasicDataA - BasicDataB; - } + } } } catch (Exception ex) @@ -112,7 +114,7 @@ namespace ConsoleApp2.Base } /// - /// 用来装10道题目 + /// 用来装10道题目Data /// /// /// @@ -127,7 +129,7 @@ namespace ConsoleApp2.Base } /// - /// 输出10道题目和答案 + /// 输出10道题目和答案Date /// /// /// @@ -146,27 +148,24 @@ namespace ConsoleApp2.Base /// - /// 输出10题目 加法文件 + /// 打印生成的10道题目Add /// public void AddOutPutTxt() { string result = @"D:\打印文件Add.txt";//保存文件路径 OneTheme oneTheme = new OneTheme(); - oneTheme.AddThemeCount(); OutPutTxt(result, oneTheme); + AddOutPutXml(oneTheme); } - - - /// - /// 输出减法文件 + /// 打印生成的10道题目Sub /// public void SubOutPutTxt() { string result = @"D:\打印文件Sub.txt";//保存文件路径 OneTheme oneTheme = new OneTheme(); - oneTheme.SubThemeCount(); OutPutTxt(result, oneTheme); + SubOutPutXml(oneTheme); } /// @@ -178,12 +177,95 @@ namespace ConsoleApp2.Base { FileStream fs = new FileStream(result, FileMode.OpenOrCreate); StreamWriter wr = new StreamWriter(fs); - for (int i = 0; i < ArrayTheme.Length; i++) + for (int i = 0; i < oneTheme.ArrayTheme.Length; i++) { - wr.WriteLine(oneTheme.ArrayTheme[i] + FFF + oneTheme.ArrayAnswer[i]); + wr.WriteLine(ArrayTheme[i] + FFF + ArrayAnswer[i]); } wr.Flush(); fs.Close(); } + + + /// + /// 读取打印成txt的加法文件 + /// + public void AddReaderTxt() + { + try + { + using (StreamReader sr = new StreamReader(@"D:\打印文件Add.txt")) + { + string line; + while ((line = sr.ReadLine()) != null) + { + Console.WriteLine(line); + } + } + } + catch + { + throw new Exception("没有这个文件"); + } + } + /// + /// 读取打印成txt的减法文件 + /// + public void SubReaderTxt() + { + try + { + using (StreamReader sr = new StreamReader(@"D:\打印文件Sub.txt")) + { + string line; + while ((line = sr.ReadLine()) != null) + { + Console.WriteLine(line); + } + } + } + catch + { + throw new Exception("没有这个文件"); + } + } + /// + /// 同步Add打印xml + /// + /// + public void AddOutPutXml(OneTheme oneTheme) + { + string fileName = "打印文件Add.xml"; + OutPutXml(oneTheme, fileName); + } + /// + /// 同步Sub打印xml + /// + /// + public void SubOutPutXml(OneTheme oneTheme) + { + string fileName = "打印文件Sub.xml"; + OutPutXml(oneTheme, fileName); + } + /// + /// 打印Xml的数据 + /// + /// + /// + private void OutPutXml(OneTheme oneTheme, string fileName) + { + XmlWriterSettings settings = new XmlWriterSettings(); + settings.Indent = true; + using (XmlWriter writer = XmlWriter.Create("..\\..\\..\\" + fileName, settings)) + { + writer.WriteStartElement("生成题目"); + for (int i = 0; i < oneTheme.ArrayTheme.Length; i++) + { + writer.WriteElementString("题目", ArrayTheme[i]); + writer.WriteElementString("答案", ArrayAnswer[i]); + } + writer.WriteEndElement(); + } + Console.WriteLine("xml同步写入成功"); + } } } diff --git a/FourOperations/FourOperations/bin/Debug/netstandard2.0/FourOperations.dll b/FourOperations/FourOperations/bin/Debug/netstandard2.0/FourOperations.dll index 537dd451437f4c7cd4ffdd63586cbaed924ea710..2e85d3350791be17f881e6ceba2d06fda5fc49d9 100644 Binary files a/FourOperations/FourOperations/bin/Debug/netstandard2.0/FourOperations.dll and b/FourOperations/FourOperations/bin/Debug/netstandard2.0/FourOperations.dll differ diff --git a/FourOperations/FourOperations/bin/Debug/netstandard2.0/FourOperations.pdb b/FourOperations/FourOperations/bin/Debug/netstandard2.0/FourOperations.pdb index 4f4abb982b3874890f2fd73f3c2a2508c9f40dad..63367a30929783ec9924c55cf0153135ca850952 100644 Binary files a/FourOperations/FourOperations/bin/Debug/netstandard2.0/FourOperations.pdb and b/FourOperations/FourOperations/bin/Debug/netstandard2.0/FourOperations.pdb differ diff --git a/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.assets.cache b/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.assets.cache index 1500dc856b370f95def2f1324058ad7fb35c2e16..c6113bdfee245ac472dbc0b8dcfef96bddb8405c 100644 Binary files a/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.assets.cache and b/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.assets.cache differ diff --git a/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.csproj.CoreCompileInputs.cache b/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.csproj.CoreCompileInputs.cache index 606fca0c694ce00a91b46aa4f6d289cd163d2870..4335c7680aa8d5a8e1bfb745726cb779a3d8170b 100644 --- a/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.csproj.CoreCompileInputs.cache +++ b/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -ed214248b9a021af9fccfeb7fd5555d2f19d5c57 +34b88cce88a29566bdd9f19c7b19b4410ca0a174 diff --git a/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.csprojAssemblyReference.cache b/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.csprojAssemblyReference.cache index 300b03b3c0fb3874e717d29bd1fb1eb77483c7da..3dc2793891e88507ffe5fdf91a87660e312fe50e 100644 Binary files a/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.csprojAssemblyReference.cache and b/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.csprojAssemblyReference.cache differ diff --git a/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.dll b/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.dll index 537dd451437f4c7cd4ffdd63586cbaed924ea710..2e85d3350791be17f881e6ceba2d06fda5fc49d9 100644 Binary files a/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.dll and b/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.dll differ diff --git a/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.pdb b/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.pdb index 4f4abb982b3874890f2fd73f3c2a2508c9f40dad..63367a30929783ec9924c55cf0153135ca850952 100644 Binary files a/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.pdb and b/FourOperations/FourOperations/obj/Debug/netstandard2.0/FourOperations.pdb differ diff --git a/FourOperations/FourOperations/obj/FourOperations.csproj.nuget.dgspec.json b/FourOperations/FourOperations/obj/FourOperations.csproj.nuget.dgspec.json index 68ed23e244eb0d876835b3bad35b101d8158b85a..33d3be2a25e6694684b93985782fec26b561b98e 100644 --- a/FourOperations/FourOperations/obj/FourOperations.csproj.nuget.dgspec.json +++ b/FourOperations/FourOperations/obj/FourOperations.csproj.nuget.dgspec.json @@ -1,24 +1,23 @@ { "format": 1, "restore": { - "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\FourOperations.csproj": {} + "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\FourOperations.csproj": {} }, "projects": { - "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\FourOperations.csproj": { + "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\FourOperations.csproj": { "version": "1.0.0", "restore": { - "projectUniqueName": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\FourOperations.csproj", + "projectUniqueName": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\FourOperations.csproj", "projectName": "FourOperations", - "projectPath": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\FourOperations.csproj", - "packagesPath": "C:\\Users\\linso\\.nuget\\packages\\", - "outputPath": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\obj\\", + "projectPath": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\FourOperations.csproj", + "packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ - "C:\\Microsoft\\Xamarin\\NuGet\\", - "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" + "C:\\Microsoft\\Xamarin\\NuGet\\" ], "configFilePaths": [ - "C:\\Users\\linso\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" ], diff --git a/FourOperations/FourOperations/obj/FourOperations.csproj.nuget.g.props b/FourOperations/FourOperations/obj/FourOperations.csproj.nuget.g.props index a6c665ef69fd4e1484541861fdddecf05fba6c86..8653c9659ec4e810564ca072fb9c05fa8261cd48 100644 --- a/FourOperations/FourOperations/obj/FourOperations.csproj.nuget.g.props +++ b/FourOperations/FourOperations/obj/FourOperations.csproj.nuget.g.props @@ -5,7 +5,7 @@ NuGet $(MSBuildThisFileDirectory)project.assets.json $(UserProfile)\.nuget\packages\ - C:\Users\linso\.nuget\packages\;C:\Microsoft\Xamarin\NuGet\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder + C:\Users\Administrator\.nuget\packages\;C:\Microsoft\Xamarin\NuGet\ PackageReference 5.5.0 diff --git a/FourOperations/FourOperations/obj/FourOperations.csproj.nuget.g.targets b/FourOperations/FourOperations/obj/FourOperations.csproj.nuget.g.targets index f09823b850f2b3bc63252eb0a911579f970b65f4..8f2d2d658defc36b6b8b658296715f4f312f528e 100644 --- a/FourOperations/FourOperations/obj/FourOperations.csproj.nuget.g.targets +++ b/FourOperations/FourOperations/obj/FourOperations.csproj.nuget.g.targets @@ -4,6 +4,6 @@ $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - + \ No newline at end of file diff --git a/FourOperations/FourOperations/obj/project.assets.json b/FourOperations/FourOperations/obj/project.assets.json index c364c365ad918593c56ecdceef5ec19b755e8039..7db8adc2280dacc515b41b9d43892d0189dc7f1d 100644 --- a/FourOperations/FourOperations/obj/project.assets.json +++ b/FourOperations/FourOperations/obj/project.assets.json @@ -180,25 +180,23 @@ ] }, "packageFolders": { - "C:\\Users\\linso\\.nuget\\packages\\": {}, - "C:\\Microsoft\\Xamarin\\NuGet\\": {}, - "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {} + "C:\\Users\\Administrator\\.nuget\\packages\\": {}, + "C:\\Microsoft\\Xamarin\\NuGet\\": {} }, "project": { "version": "1.0.0", "restore": { - "projectUniqueName": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\FourOperations.csproj", + "projectUniqueName": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\FourOperations.csproj", "projectName": "FourOperations", - "projectPath": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\FourOperations.csproj", - "packagesPath": "C:\\Users\\linso\\.nuget\\packages\\", - "outputPath": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\obj\\", + "projectPath": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\FourOperations.csproj", + "packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ - "C:\\Microsoft\\Xamarin\\NuGet\\", - "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" + "C:\\Microsoft\\Xamarin\\NuGet\\" ], "configFilePaths": [ - "C:\\Users\\linso\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" ], diff --git a/FourOperations/FourOperations/obj/project.nuget.cache b/FourOperations/FourOperations/obj/project.nuget.cache index eca90ef351d34ad5bfbccc3ed86f4e449d41ed39..9c458d72c7c4da11d1834a1466f42f72f3fb28a8 100644 --- a/FourOperations/FourOperations/obj/project.nuget.cache +++ b/FourOperations/FourOperations/obj/project.nuget.cache @@ -1,11 +1,11 @@ { "version": 2, - "dgSpecHash": "cKtolG8vsdAwbMXD/U7IHavPWfILbEjFFw1KR9VnKMUhe5OIYV/v0cTrrQORCLsP5uKaLl9EjCowrrndxYqDbg==", + "dgSpecHash": "rtS/oR//KVG1TIFL3NoAKB6k+sAF3jXjzkicjK8QnCzdTf3RgayRkn+L0xhCUi0qJaYRiuFeZgCH+fRWeJGUgQ==", "success": true, - "projectFilePath": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\FourOperations.csproj", + "projectFilePath": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\FourOperations.csproj", "expectedPackageFiles": [ - "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512", - "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder\\netstandard.library\\2.0.3\\netstandard.library.2.0.3.nupkg.sha512" + "C:\\Users\\Administrator\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512", + "C:\\Users\\Administrator\\.nuget\\packages\\netstandard.library\\2.0.3\\netstandard.library.2.0.3.nupkg.sha512" ], "logs": [] } \ No newline at end of file diff --git a/FourOperations/FourOperationsDemo/Program.cs b/FourOperations/FourOperationsDemo/Program.cs index a7fc45af337ddf93c3b3dc6c3f2d50d88b9129e4..7f9ae685bccfe3c2753cf45f502f92ce6e4274f0 100644 --- a/FourOperations/FourOperationsDemo/Program.cs +++ b/FourOperations/FourOperationsDemo/Program.cs @@ -65,7 +65,9 @@ namespace FourOperations //oneTheme1.AddThemeCount(); //Console.WriteLine("---------------------------------------"); //oneTheme1.SubThemeCount(); - onetheme.SubOutPutTxt(); + onetheme.AddThemeCount(); + onetheme.AddOutPutTxt(); + onetheme.AddOutPutXml(onetheme); } } diff --git a/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperations.dll b/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperations.dll index 537dd451437f4c7cd4ffdd63586cbaed924ea710..2e85d3350791be17f881e6ceba2d06fda5fc49d9 100644 Binary files a/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperations.dll and b/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperations.dll differ diff --git a/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperations.pdb b/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperations.pdb index 4f4abb982b3874890f2fd73f3c2a2508c9f40dad..63367a30929783ec9924c55cf0153135ca850952 100644 Binary files a/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperations.pdb and b/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperations.pdb differ diff --git a/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperationsDemo.dll b/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperationsDemo.dll index 9be142436bb3f92ed8e932e28c6fe757fa51e0d5..582f49943ca1df01bdbf5ccdadf9a040065895fd 100644 Binary files a/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperationsDemo.dll and b/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperationsDemo.dll differ diff --git a/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperationsDemo.pdb b/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperationsDemo.pdb index 09ac709254b22a65a2a6e72eefc238f305f91e2e..6d4861ba39b2095e0722c209af17e3a3209071db 100644 Binary files a/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperationsDemo.pdb and b/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperationsDemo.pdb differ diff --git a/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperationsDemo.runtimeconfig.dev.json b/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperationsDemo.runtimeconfig.dev.json index d0032b53f18cb5a4365e9bf6ebea969950bfa032..9261e2b5f56c4ae78967636f0eff02e318d7c051 100644 --- a/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperationsDemo.runtimeconfig.dev.json +++ b/FourOperations/FourOperationsDemo/bin/Debug/netcoreapp3.1/FourOperationsDemo.runtimeconfig.dev.json @@ -1,10 +1,9 @@ { "runtimeOptions": { "additionalProbingPaths": [ - "C:\\Users\\linso\\.dotnet\\store\\|arch|\\|tfm|", - "C:\\Users\\linso\\.nuget\\packages", - "C:\\Microsoft\\Xamarin\\NuGet", - "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" + "C:\\Users\\Administrator\\.dotnet\\store\\|arch|\\|tfm|", + "C:\\Users\\Administrator\\.nuget\\packages", + "C:\\Microsoft\\Xamarin\\NuGet" ] } } \ No newline at end of file diff --git a/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.assets.cache b/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.assets.cache index a3a18ad17a6833729a8b6a6ca34ba4489972582a..3207f52ce0259c70aab9c6827cb7ca7d1a806e1e 100644 Binary files a/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.assets.cache and b/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.assets.cache differ diff --git a/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.csproj.CoreCompileInputs.cache b/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.csproj.CoreCompileInputs.cache index c6fb1017a6003bb5d96f61dd708191068759e687..850b1dcf8da62cb8ff0376b765bf398922adad71 100644 --- a/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.csproj.CoreCompileInputs.cache +++ b/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -28185f74179fd8b064bf1d8d388623e7ced39cc1 +04596e1b8efd589518f66034a993dda38434eb88 diff --git a/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.csprojAssemblyReference.cache b/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.csprojAssemblyReference.cache index 2e68b1e6bca4cb6591579933b7590e192049e556..2636452cda9825e8569c0e50305e5ff7ac33e766 100644 Binary files a/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.csprojAssemblyReference.cache and b/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.csprojAssemblyReference.cache differ diff --git a/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.dll b/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.dll index 9be142436bb3f92ed8e932e28c6fe757fa51e0d5..582f49943ca1df01bdbf5ccdadf9a040065895fd 100644 Binary files a/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.dll and b/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.dll differ diff --git a/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.pdb b/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.pdb index 09ac709254b22a65a2a6e72eefc238f305f91e2e..6d4861ba39b2095e0722c209af17e3a3209071db 100644 Binary files a/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.pdb and b/FourOperations/FourOperationsDemo/obj/Debug/netcoreapp3.1/FourOperationsDemo.pdb differ diff --git a/FourOperations/FourOperationsDemo/obj/FourOperationsDemo.csproj.nuget.dgspec.json b/FourOperations/FourOperationsDemo/obj/FourOperationsDemo.csproj.nuget.dgspec.json index 7d8be77896a5de13f50e872cdc76245181fe37a1..b3c5726a6cd3cd99767f0a39bd763634c2345161 100644 --- a/FourOperations/FourOperationsDemo/obj/FourOperationsDemo.csproj.nuget.dgspec.json +++ b/FourOperations/FourOperationsDemo/obj/FourOperationsDemo.csproj.nuget.dgspec.json @@ -1,24 +1,23 @@ { "format": 1, "restore": { - "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperationsDemo\\FourOperationsDemo.csproj": {} + "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperationsDemo\\FourOperationsDemo.csproj": {} }, "projects": { - "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperationsDemo\\FourOperationsDemo.csproj": { + "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperationsDemo\\FourOperationsDemo.csproj": { "version": "1.0.0", "restore": { - "projectUniqueName": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperationsDemo\\FourOperationsDemo.csproj", + "projectUniqueName": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperationsDemo\\FourOperationsDemo.csproj", "projectName": "FourOperationsDemo", - "projectPath": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperationsDemo\\FourOperationsDemo.csproj", - "packagesPath": "C:\\Users\\linso\\.nuget\\packages\\", - "outputPath": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperationsDemo\\obj\\", + "projectPath": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperationsDemo\\FourOperationsDemo.csproj", + "packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperationsDemo\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ - "C:\\Microsoft\\Xamarin\\NuGet\\", - "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" + "C:\\Microsoft\\Xamarin\\NuGet\\" ], "configFilePaths": [ - "C:\\Users\\linso\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" ], @@ -32,8 +31,8 @@ "frameworks": { "netcoreapp3.1": { "projectReferences": { - "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\FourOperations.csproj": { - "projectPath": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\FourOperations.csproj" + "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\FourOperations.csproj": { + "projectPath": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\FourOperations.csproj" } } } @@ -65,21 +64,20 @@ } } }, - "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\FourOperations.csproj": { + "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\FourOperations.csproj": { "version": "1.0.0", "restore": { - "projectUniqueName": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\FourOperations.csproj", + "projectUniqueName": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\FourOperations.csproj", "projectName": "FourOperations", - "projectPath": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\FourOperations.csproj", - "packagesPath": "C:\\Users\\linso\\.nuget\\packages\\", - "outputPath": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\obj\\", + "projectPath": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\FourOperations.csproj", + "packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ - "C:\\Microsoft\\Xamarin\\NuGet\\", - "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" + "C:\\Microsoft\\Xamarin\\NuGet\\" ], "configFilePaths": [ - "C:\\Users\\linso\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" ], diff --git a/FourOperations/FourOperationsDemo/obj/FourOperationsDemo.csproj.nuget.g.props b/FourOperations/FourOperationsDemo/obj/FourOperationsDemo.csproj.nuget.g.props index a6c665ef69fd4e1484541861fdddecf05fba6c86..8653c9659ec4e810564ca072fb9c05fa8261cd48 100644 --- a/FourOperations/FourOperationsDemo/obj/FourOperationsDemo.csproj.nuget.g.props +++ b/FourOperations/FourOperationsDemo/obj/FourOperationsDemo.csproj.nuget.g.props @@ -5,7 +5,7 @@ NuGet $(MSBuildThisFileDirectory)project.assets.json $(UserProfile)\.nuget\packages\ - C:\Users\linso\.nuget\packages\;C:\Microsoft\Xamarin\NuGet\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder + C:\Users\Administrator\.nuget\packages\;C:\Microsoft\Xamarin\NuGet\ PackageReference 5.5.0 diff --git a/FourOperations/FourOperationsDemo/obj/project.assets.json b/FourOperations/FourOperationsDemo/obj/project.assets.json index 71e0c47209addc19ba7683fff8117ee4e01ed351..ae06eb5cc2164e16c4b7de28bfedbf2b4fe7edf7 100644 --- a/FourOperations/FourOperationsDemo/obj/project.assets.json +++ b/FourOperations/FourOperationsDemo/obj/project.assets.json @@ -27,25 +27,23 @@ ] }, "packageFolders": { - "C:\\Users\\linso\\.nuget\\packages\\": {}, - "C:\\Microsoft\\Xamarin\\NuGet\\": {}, - "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {} + "C:\\Users\\Administrator\\.nuget\\packages\\": {}, + "C:\\Microsoft\\Xamarin\\NuGet\\": {} }, "project": { "version": "1.0.0", "restore": { - "projectUniqueName": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperationsDemo\\FourOperationsDemo.csproj", + "projectUniqueName": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperationsDemo\\FourOperationsDemo.csproj", "projectName": "FourOperationsDemo", - "projectPath": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperationsDemo\\FourOperationsDemo.csproj", - "packagesPath": "C:\\Users\\linso\\.nuget\\packages\\", - "outputPath": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperationsDemo\\obj\\", + "projectPath": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperationsDemo\\FourOperationsDemo.csproj", + "packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperationsDemo\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ - "C:\\Microsoft\\Xamarin\\NuGet\\", - "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" + "C:\\Microsoft\\Xamarin\\NuGet\\" ], "configFilePaths": [ - "C:\\Users\\linso\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" ], @@ -59,8 +57,8 @@ "frameworks": { "netcoreapp3.1": { "projectReferences": { - "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\FourOperations.csproj": { - "projectPath": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperations\\FourOperations.csproj" + "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\FourOperations.csproj": { + "projectPath": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperations\\FourOperations.csproj" } } } diff --git a/FourOperations/FourOperationsDemo/obj/project.nuget.cache b/FourOperations/FourOperationsDemo/obj/project.nuget.cache index 31a67b4ffa328cdbb6e4ec7cc778edbda726e093..9503183332bcc46750e7678b2a9300b53c996d77 100644 --- a/FourOperations/FourOperationsDemo/obj/project.nuget.cache +++ b/FourOperations/FourOperationsDemo/obj/project.nuget.cache @@ -1,8 +1,8 @@ { "version": 2, - "dgSpecHash": "vHszkrHo0/fqRV/6S0wAOl6uG+WvsQLfmXZgjgoM4LvYJdHICJYx91UivyllNAS7NJJDTpKyslocX6upLDzsQw==", + "dgSpecHash": "S98W87nanApxm35KH8yBkRK+E1Ojl86nchIJEDtbH31UrjpV/PHF7g3Jg9MnGmyVInpeniMydIa9s9lz4a69PA==", "success": true, - "projectFilePath": "C:\\Users\\linso\\Desktop\\新建文件夹 (2)\\FourOperations\\FourOperations\\FourOperationsDemo\\FourOperationsDemo.csproj", + "projectFilePath": "C:\\Users\\Administrator\\Desktop\\xin仓库\\FourOperations\\FourOperationsDemo\\FourOperationsDemo.csproj", "expectedPackageFiles": [], "logs": [] } \ No newline at end of file diff --git "a/FourOperations/FourOperationsDemo/\346\211\223\345\215\260\346\226\207\344\273\266Add.xml" "b/FourOperations/FourOperationsDemo/\346\211\223\345\215\260\346\226\207\344\273\266Add.xml" new file mode 100644 index 0000000000000000000000000000000000000000..090e30019670f06bb0c6c758e8b9cde995cfb52d --- /dev/null +++ "b/FourOperations/FourOperationsDemo/\346\211\223\345\215\260\346\226\207\344\273\266Add.xml" @@ -0,0 +1,23 @@ + +<生成题目> + <题目>0+19 + <答案>19 + <题目>2+2 + <答案>4 + <题目>7+4 + <答案>11 + <题目>10+8 + <答案>18 + <题目>5+1 + <答案>6 + <题目>19+14 + <答案>33 + <题目>0+7 + <答案>7 + <题目>18+13 + <答案>31 + <题目>12+15 + <答案>27 + <题目>15+11 + <答案>26 + \ No newline at end of file