摘要:
using System.Collections.Generic; using System.Linq; namespace System { /// /// 表示应用程序在执行后的结果。 /// public class ApplicationResult { static readonly ApplicationResult _s... 阅读全文
摘要:
using System; using System.Collections; using System.Collections.Generic; using System.Threading; using System.Linq; [System.Diagnostics.CodeAnalysis.SuppressMessage("Microso... 阅读全文
摘要:
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... 阅读全文
摘要:
this.Invoke(new MethodInvoker(() => { //TO DO })); this.Invoke(new Action(()=>{ // TO DO })); 阅读全文