摘要:
using System;using System.Threading;using System.Runtime.Remoting.Contexts;namespace ConsoleApplication4{ [Synchronization] public class MyCounter : ContextBoundObject { private int _expectedCounterVal; private int _currentCounterVal; private ManualResetEvent _event = new ManualResetEvent(false); pu 阅读全文