随笔分类 -  C#

摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace StringBuilderTest{ class Program { static voi... 阅读全文
posted @ 2013-09-12 01:17 MrMrCash 阅读(982) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Queue{ class Program { public static void Pri... 阅读全文
posted @ 2013-09-12 00:29 MrMrCash 阅读(241) 评论(0) 推荐(0)
摘要:调用LIST的Sort的时候会调用IComparer的默认实现,quicksort会调用每个元素的CompareTo的IComparable实现using System;using System.Collections.Generic;using System.Linq;using System.T... 阅读全文
posted @ 2013-09-11 01:23 MrMrCash 阅读(223) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ComparableTest{ class Program { class Employe... 阅读全文
posted @ 2013-09-10 00:52 MrMrCash 阅读(403) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;/* 使用 约束 实现可排序单链表 */namespace UsingConstraints{ class Employee : ... 阅读全文
posted @ 2013-09-06 00:47 MrMrCash 阅读(452) 评论(0) 推荐(0)