Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
using System;
using System.Threading;
namespace ConsoleApplication
{
internal class Program
{
public static void Main(string[] args)
{
Console.WriteLine(new ThreadInterruptedException().Message);
//.NET: "Thread was interrupted from a waiting state."
//Mono: ""
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment