How does Thread.Abort() work?
问题 We usually throw exception when invalid input is passed to a method or when a object is about to enter invalid state. Let's consider the following example private void SomeMethod(string value) { if(value == null) throw new ArgumentNullException("value"); //Method logic goes here } In the above example I inserted a throw statement which throws ArgumentNullException . My question is how does runtime manages to throw ThreadAbortException . Obviously it is not possible to use a throw statement in