From e86fba5e2bce474d14ea3eb7fd754cb04bac4cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=98=89=E6=BB=A8?= Date: Sun, 7 Jun 2020 23:42:13 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BD=95=E5=98=89=E6=BB=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../textone.sln" | 25 ++++++++++ .../textone/Program.cs" | 49 +++++++++++++++++++ .../textone/textone.csproj" | 8 +++ 3 files changed, 82 insertions(+) create mode 100644 "\344\275\225\345\230\211\346\273\250/textone.sln" create mode 100644 "\344\275\225\345\230\211\346\273\250/textone/Program.cs" create mode 100644 "\344\275\225\345\230\211\346\273\250/textone/textone.csproj" 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 0000000..93e47e8 --- /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 0000000..8511e0d --- /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 + + + -- Gitee From fa35d1a9a15a3549222fa41621aa6ec930c4d8cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=98=89=E6=BB=A8?= Date: Sun, 7 Jun 2020 23:51:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BD=95=E5=98=89=E6=BB=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\253\346\215\267\346\226\271\345\274\217.lnk" | Bin 0 -> 1669 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "\344\275\225\345\230\211\346\273\250 - \345\277\253\346\215\267\346\226\271\345\274\217.lnk" 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 GIT binary patch literal 1669 zcmbVMeQZ-z6#s4F!ZeXK)P)s+pD8Pv+c*m(?tj0Gw|s11~$ZaFGrYoZ?O%Fl<(VT zDlT~9mVIB%#@!Cb%jKx?denc2%I`3oI(JAZ4_GTgT6B|!2ud*v7eCyrd{#1~*aOv+ z7?>quH|Vmmd337uObJ5J5XC0$Kr{Ck{}TLau>#f9CG>Js@z03{LM`QN=rrvfSDNm% zAh0H|N&sjvZ4W66*2$UJF7b=8IkFY3wP(8!z#77;JO<_=ZEDUauY0X%jcPrE{YiRd z#3Xv9~P`wH#ME8!b@V?SYwY z!=pyigSQl?O-{uF*LS7d_0;OOjO~HQeDmg5U``CM~Dh?fLbL6uouz8Dn>OQSpD+ysYBVb$0nx^t6D6zB^8NBBjNZ!TuUb6 zgCpU-L_FN59+^HmJ@FfGBP&xiV-X*221Y&EkKSGWt-s~%WsjcUv+cxvTj^jI&*;zS z24Y!>aFWGT~Iz z_nbY?3K-o*-OivA{KawX8!w(&J$_|o?wI!A?IYwz#PA}*Jp^g5|Mr9xsDzj8s-iOG z+NkDRCD%GC{IQL@)q;XsCI-275X7k;p54%P)ZgHpygGO1oiFuH50I~ytT}&iNyZayRu58+M%6jNDrrN)rHzUbeNYGzK28WU3Ys2v0GX3|lQkZk~ zf4pq2fW-?inTDeiWxcI$?nwH^ea+QlO~cz4kk1(c_y~6_*