using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; //如果账户金额小于0 触发事件 namespace Starter { public enum Comparison { theFirstComesFirst = 1, theSecondComesFirst = 2 } //包含两项的简单集合 public class Pai…