/// <summary> /// 整形自减少 /// </summary> /// <param name="n">目标类型</param> public static void Decrement(this int n) { Interlocked.Decrement(ref n); }
/// <summary> /// 整形自减少 /// </summary> /// <param name="n">目标类型</param> public static void Decrement(this int n) { Interlocked.Decrement(ref n); }