From bb33e44095527689272affeebb42b716fe3acecf Mon Sep 17 00:00:00 2001 From: Edwin <1070342164@qq.com> Date: Tue, 18 Jul 2023 22:28:03 +0800 Subject: [PATCH] add HelloDotNetGuide --- .../2023年ASP.NET Core开发者指南.png | Bin .../aspnetcore-developer-roadmap.zh-Hans.png | Bin .../CSharpAlgorithm/ListSetAlgorithm.cs | 33 ------------------ .../CSharpAlgorithm/CSharpAlgorithm/Program.cs | 18 ---------- docs/{project => }/算法/C#经典算法面试题.md | 0 .../DotNetGuide}/.gitignore | 0 .../DotNetGuide/DotNetGuide.sln | 16 ++++----- .../HelloDotNetGuide/HelloDotNetGuide.csproj | 6 ++++ src/DotNetGuide/HelloDotNetGuide/Program.cs | 10 ++++++ 9 files changed, 24 insertions(+), 59 deletions(-) rename {docs/dotNet/picture => assets}/dotNetRoadMap/2023年ASP.NET Core开发者指南.png (100%) rename {docs/dotNet/picture => assets}/dotNetRoadMap/aspnetcore-developer-roadmap.zh-Hans.png (100%) delete mode 100644 docs/project/算法/CSharpAlgorithm/CSharpAlgorithm/ListSetAlgorithm.cs delete mode 100644 docs/project/算法/CSharpAlgorithm/CSharpAlgorithm/Program.cs rename docs/{project => }/算法/C#经典算法面试题.md (100%) rename {docs/project/算法/CSharpAlgorithm => src/DotNetGuide}/.gitignore (100%) rename docs/project/算法/CSharpAlgorithm/CSharpAlgorithm.sln => src/DotNetGuide/DotNetGuide.sln (52%) rename docs/project/算法/CSharpAlgorithm/CSharpAlgorithm/CSharpAlgorithm.csproj => src/DotNetGuide/HelloDotNetGuide/HelloDotNetGuide.csproj (52%) create mode 100644 src/DotNetGuide/HelloDotNetGuide/Program.cs diff --git a/docs/dotNet/picture/dotNetRoadMap/2023年ASP.NET Core开发者指南.png b/assets/dotNetRoadMap/2023年ASP.NET Core开发者指南.png similarity index 100% rename from docs/dotNet/picture/dotNetRoadMap/2023年ASP.NET Core开发者指南.png rename to assets/dotNetRoadMap/2023年ASP.NET Core开发者指南.png diff --git a/docs/dotNet/picture/dotNetRoadMap/aspnetcore-developer-roadmap.zh-Hans.png b/assets/dotNetRoadMap/aspnetcore-developer-roadmap.zh-Hans.png similarity index 100% rename from docs/dotNet/picture/dotNetRoadMap/aspnetcore-developer-roadmap.zh-Hans.png rename to assets/dotNetRoadMap/aspnetcore-developer-roadmap.zh-Hans.png diff --git a/docs/project/算法/CSharpAlgorithm/CSharpAlgorithm/ListSetAlgorithm.cs b/docs/project/算法/CSharpAlgorithm/CSharpAlgorithm/ListSetAlgorithm.cs deleted file mode 100644 index 4e4e563..0000000 --- a/docs/project/算法/CSharpAlgorithm/CSharpAlgorithm/ListSetAlgorithm.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace CSharpAlgorithm -{ - public class ListSetAlgorithm - { - /// - /// 获取移除后的列表数据 - /// - /// - public static List GetAfterRemoveListData() - { - List list = new List(); - for (int i = 1; i <= 10; i++) - { - list.Add(i); - } - - for (int i = 0; i < 5; i++) - { - list.RemoveAt(i);//输出结果:2,4,6,8,10,按照索引移除 - list.Remove(i);//输出结果:5,6,7,8,9,10,按照对象移除 - } - - //以上两种同时使用时输出结果:6,7,9 - return list; - } - } -} diff --git a/docs/project/算法/CSharpAlgorithm/CSharpAlgorithm/Program.cs b/docs/project/算法/CSharpAlgorithm/CSharpAlgorithm/Program.cs deleted file mode 100644 index a8e4fd3..0000000 --- a/docs/project/算法/CSharpAlgorithm/CSharpAlgorithm/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; - -namespace CSharpAlgorithm -{ - class Program - { - static void Main(string[] args) - { - var getListData = ListSetAlgorithm.GetAfterRemoveListData(); - foreach (var itemValue in getListData) - { - Console.WriteLine(itemValue); - } - - Console.WriteLine("Hello World!"); - } - } -} diff --git a/docs/project/算法/C#经典算法面试题.md b/docs/算法/C#经典算法面试题.md similarity index 100% rename from docs/project/算法/C#经典算法面试题.md rename to docs/算法/C#经典算法面试题.md diff --git a/docs/project/算法/CSharpAlgorithm/.gitignore b/src/DotNetGuide/.gitignore similarity index 100% rename from docs/project/算法/CSharpAlgorithm/.gitignore rename to src/DotNetGuide/.gitignore diff --git a/docs/project/算法/CSharpAlgorithm/CSharpAlgorithm.sln b/src/DotNetGuide/DotNetGuide.sln similarity index 52% rename from docs/project/算法/CSharpAlgorithm/CSharpAlgorithm.sln rename to src/DotNetGuide/DotNetGuide.sln index 113c342..e5f207e 100644 --- a/docs/project/算法/CSharpAlgorithm/CSharpAlgorithm.sln +++ b/src/DotNetGuide/DotNetGuide.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.31112.23 +# Visual Studio Version 17 +VisualStudioVersion = 17.6.33815.320 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharpAlgorithm", "CSharpAlgorithm\CSharpAlgorithm.csproj", "{8D90F8AE-CF60-437E-892E-1366B4561A86}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HelloDotNetGuide", "HelloDotNetGuide\HelloDotNetGuide.csproj", "{2E168BE3-C54F-4311-88FC-A891BA62F308}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -11,15 +11,15 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8D90F8AE-CF60-437E-892E-1366B4561A86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8D90F8AE-CF60-437E-892E-1366B4561A86}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8D90F8AE-CF60-437E-892E-1366B4561A86}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8D90F8AE-CF60-437E-892E-1366B4561A86}.Release|Any CPU.Build.0 = Release|Any CPU + {2E168BE3-C54F-4311-88FC-A891BA62F308}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2E168BE3-C54F-4311-88FC-A891BA62F308}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2E168BE3-C54F-4311-88FC-A891BA62F308}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2E168BE3-C54F-4311-88FC-A891BA62F308}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {28857D41-E735-49D4-B35C-AA9F0882F74E} + SolutionGuid = {7B103172-7D9E-472A-93BA-BB9BCE87F1FC} EndGlobalSection EndGlobal diff --git a/docs/project/算法/CSharpAlgorithm/CSharpAlgorithm/CSharpAlgorithm.csproj b/src/DotNetGuide/HelloDotNetGuide/HelloDotNetGuide.csproj similarity index 52% rename from docs/project/算法/CSharpAlgorithm/CSharpAlgorithm/CSharpAlgorithm.csproj rename to src/DotNetGuide/HelloDotNetGuide/HelloDotNetGuide.csproj index 41f1d5a..f5be2c8 100644 --- a/docs/project/算法/CSharpAlgorithm/CSharpAlgorithm/CSharpAlgorithm.csproj +++ b/src/DotNetGuide/HelloDotNetGuide/HelloDotNetGuide.csproj @@ -3,6 +3,12 @@ Exe net6.0 + enable + enable + + + + diff --git a/src/DotNetGuide/HelloDotNetGuide/Program.cs b/src/DotNetGuide/HelloDotNetGuide/Program.cs new file mode 100644 index 0000000..d21cd88 --- /dev/null +++ b/src/DotNetGuide/HelloDotNetGuide/Program.cs @@ -0,0 +1,10 @@ +namespace HelloDotNetGuide +{ + internal class Program + { + static void Main(string[] args) + { + Console.WriteLine("Hello DotNetGuide!"); + } + } +} \ No newline at end of file