diff --git "a/\344\275\225\345\230\211\346\273\250 - \345\277\253\346\215\267\346\226\271\345\274\217.lnk" "b/\344\275\225\345\230\211\346\273\250 - \345\277\253\346\215\267\346\226\271\345\274\217.lnk" new file mode 100644 index 0000000000000000000000000000000000000000..534831dcb7fe25455188f783052968ba8f67609c Binary files /dev/null and "b/\344\275\225\345\230\211\346\273\250 - \345\277\253\346\215\267\346\226\271\345\274\217.lnk" differ diff --git "a/\344\275\225\345\230\211\346\273\250/textone.sln" "b/\344\275\225\345\230\211\346\273\250/textone.sln" new file mode 100644 index 0000000000000000000000000000000000000000..93e47e8dcbca4b2125dd948caf6c9aa066921b31 --- /dev/null +++ "b/\344\275\225\345\230\211\346\273\250/textone.sln" @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30128.74 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "textone", "textone\textone.csproj", "{83F0F687-AE59-4787-A445-2EB3FB49CA0B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {83F0F687-AE59-4787-A445-2EB3FB49CA0B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {83F0F687-AE59-4787-A445-2EB3FB49CA0B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {83F0F687-AE59-4787-A445-2EB3FB49CA0B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {83F0F687-AE59-4787-A445-2EB3FB49CA0B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {1B220FE2-E51F-464F-8655-9C2A8E208ECF} + EndGlobalSection +EndGlobal diff --git "a/\344\275\225\345\230\211\346\273\250/textone/Program.cs" "b/\344\275\225\345\230\211\346\273\250/textone/Program.cs" new file mode 100644 index 0000000000000000000000000000000000000000..8511e0d598bc71b1f6f7bee980948f882e19bd5c --- /dev/null +++ "b/\344\275\225\345\230\211\346\273\250/textone/Program.cs" @@ -0,0 +1,49 @@ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Collections; +using System.IO; +namespace arraytext//数组的英文名为array +{ + class Date + { + static void Main(string[] args) + { + int[] myArrayone = { 10,77,88,99,65,67,69,34,53,66,54};//给数组定义 + //其中定义数组的同时,有一个索引,索引以0开始,例如索引0所代表的是10 + Console.Write("原始数组: "); + foreach (int i in myArrayone) + { + Console.Write(i + " "); + + } + Console.WriteLine(); + + //逆转数组 + //逆转数组是把数组的逆转整个一维数组 + //我的理解是说就是数组的顺序是随机改变的 + //打出来不就知道了 + Array.Reverse(myArrayone); + Console.Write("逆转数组: "); + //逆转数组先放一边,博客园的不见了等我找到了在补 + //当前是循环数组 + int[] nums = new int[10]; + for(int i=0;i + + + Exe + netcoreapp3.1 + + +