Development Class C#

using System;
class Sample
{
    public static void Main()
    {
        string causeOfFailure = "this is a test.";
        try
        {
            Environment.FailFast(causeOfFailure);
        }
        finally
        {
            Console.WriteLine("This finally block will not be executed.");
        }
    }
}