RosettaCodeData/Task/Program-termination/C-sharp/program-termination.cs

5 lines
41 B
C#

if (problem)
{
Environment.Exit(1);
}