摘要:
using System.Collections.Generic; using System.Linq; namespace System { /// /// 表示应用程序在执行后的结果。 /// public class ApplicationResult { static readonly ApplicationResult _s... 阅读全文
posted @ 2018-01-03 10:20
会弹猫的吉他
阅读(510)
评论(0)
推荐(0)
摘要:
using System; using System.Collections; using System.Collections.Generic; using System.Threading; using System.Linq; [System.Diagnostics.CodeAnalysis.SuppressMessage("Microso... 阅读全文
posted @ 2018-01-03 10:10
会弹猫的吉他
阅读(210)
评论(0)
推荐(0)
摘要:
public static class LinqExtension { public static T MaxBy(this IEnumerable en, Func evaluate) where TR : IComparable { return en.Select(t => new Tuple(t, evaluate(t))) .Aggregate((max, ne... 阅读全文
posted @ 2018-01-03 10:05
会弹猫的吉他
阅读(877)
评论(0)
推荐(0)
摘要:
this.Invoke(new MethodInvoker(() => { //TO DO })); this.Invoke(new Action(()=>{ // TO DO })); 阅读全文
posted @ 2018-01-03 09:54
会弹猫的吉他
阅读(516)
评论(0)
推荐(0)