Files
WoofWare.PawPrint/WoofWare.PawPrint.Test/sourcesPure/TryCatchWithThrowInBody.cs
2025-06-27 10:54:00 +00:00

23 lines
338 B
C#

using System;
namespace HelloWorldApp
{
class Program
{
static int Main(string[] args)
{
int x = 3;
try
{
throw new Exception("hello");
}
catch
{
x += 1;
}
return x;
}
}
}