03 2020 档案

摘要:class QuickSortDemo { //快速排序 static void Main(string[] args) { int[] arr = new int[] { 4,2,3,8,9,6,5,1,7}; QuickSort(arr,0,8); Console.WriteLine(" " + 阅读全文
posted @ 2020-03-31 16:45 幸福安康 阅读(148) 评论(0) 推荐(0)
摘要:class InvokingAnAsynchronousTask { public static void Main() { const int repetitions = 1000; // Use Task.Factory.StartNew<string>() for // TPL prior t 阅读全文
posted @ 2020-03-24 14:10 幸福安康 阅读(182) 评论(0) 推荐(0)
摘要:CREATE TABLE ProgrectDetail ( ProgrectName NVARCHAR(20), --工程名称 OverseaSupply INT, --海外供应商供给数量 NativeSupply INT, --国内供应商供给数量 SouthSupply INT, --南方供应商供 阅读全文
posted @ 2020-03-17 16:37 幸福安康 阅读(173) 评论(0) 推荐(0)
摘要:public class Singleton { private static Singleton _Singleton = null; private static object Singleton_Lock = new object(); public static Singleton Crea 阅读全文
posted @ 2020-03-17 11:28 幸福安康 阅读(1355) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-03-17 11:03 幸福安康 阅读(90) 评论(0) 推荐(0)
摘要:using System; namespace ConsoleApp1 { //斐波那契数 //请查找集合中第一个大于2147483647的数 class Program { //递归写法 public static ulong Foo(int n) { if (n < 2) { return 1; 阅读全文
posted @ 2020-03-17 10:52 幸福安康 阅读(585) 评论(0) 推荐(0)