Files
WoofWare.PawPrint/WoofWare.PawPrint.Test/sources/TryCatchWithThrowInBody.cs
2025-06-01 19:37:37 +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;
}
}
}