Skip to content

Instantly share code, notes, and snippets.

@EgorBo
Last active October 6, 2017 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EgorBo/e02a1ee070d7831854ce4b1c04f861cb to your computer and use it in GitHub Desktop.
Save EgorBo/e02a1ee070d7831854ce4b1c04f861cb to your computer and use it in GitHub Desktop.
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