Below is a small program with CancellationToken. You need to determine the exact output in the console.
stdout of the program.OperationCanceledException.dotnet run
token.Register(...).Task.Delay(..., token).Cancel(), the cancellation handlers run, the exception is caught, and all lines appear in the console in a deterministic order.8.0.204C# 12dotnet runCancellationTokenSource and CancellationToken from System.Threading is usedClick a line and write what it prints. Explanation is optional.