mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2025-12-06 05:32:03 +01:00
26 lines
323 B
C#
26 lines
323 B
C#
using CallStackExceptionHandlingLib;
|
|
using static System.Console;
|
|
|
|
WriteLine("In Main");
|
|
Alpha();
|
|
|
|
void Alpha()
|
|
{
|
|
WriteLine("In Alpha");
|
|
Beta();
|
|
}
|
|
|
|
void Beta()
|
|
{
|
|
WriteLine("In Beta");
|
|
try
|
|
{
|
|
Calculator.Gamma();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
WriteLine($"Caught this: {ex.Message}");
|
|
throw ex;
|
|
}
|
|
}
|