Files
DotNetGuide/DotNetGuidePractice/HelloDotNetGuide/Program.cs
2024-11-05 22:59:10 +08:00

79 lines
2.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using HelloDotNetGuide.CSharp语法;
using HelloDotNetGuide.;
using HelloDotNetGuide.线;
using HelloDotNetGuide.;
using static HelloDotNetGuide..;
namespace HelloDotNetGuide
{
public class Program
{
static void Main(string[] args)
{
Console.WriteLine("欢迎来到DotNetGuide练习空间");
#region
SingletonEager.Instance.DoSomething();
SingletonLazy.Instance.DoSomething();
SingletonByLazy.Instance.DoSomething();
#endregion
#region CSharp12GrammarExercise
//CSharp12GrammarExercise.OutputPrint();
#endregion
#region GotoExercise
//GotoExercise.GotoRetryUseExample();
//GotoExercise.NonGotoRetryUseExample();
#endregion
#region 线
//var getFileContent = ReadFileAsyncExample.ReadFileAsync("D:\\Desktop\\数据读取.txt").ConfigureAwait(false);
//MultithreadingExample.ParallelMethod();
//AsyncProgrammingExample.TestEAPAsync();
#endregion
#region
//线性查找算法.LinearSearchRun();
//哈希查找算法.HashSearchFunctionRun(2);
//二分查找算法.BinarySearchRun();
//二叉搜索树算法.BinarySearchTreeRun();
//递归算法.RecursiveFactorial();
//递归算法.RecursiveArraySum();
//递归算法.FibonacciSum();
//递归算法.RecursiveAlgorithmSum();
//基数排序算法.RadixSortRun();
//桶排序算法.BucketSortRun();
//计数排序算法.CountingSortRun();
//堆排序算法.HeapSortRun();
//归并排序算法.MergeSortRun();
//希尔排序算法.ShellSortRun();
//插入排序算法.InsertionSortRun();
//快速排序算法.QuickSortRun();
//冒泡排序算法.RecursiveBubbleSortRun();
//List集合相关算法.GetAfterRemoveListData();
//选择排序算法.SelectionSortAlgorithmMain();
#endregion
#region
//ArrayDeduplication.LoopTraversalDuplicate();
#endregion
}
}
}