Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
C#
/
Exceptions
A catch block records a failure and must propagate the same exception. Which statement pr…
from Exceptions
C# 14 / .NET 10
beginner
1 min
A catch block records a failure and must propagate the same exception. Which statement preserves its existing stack trace?
`throw;`
`throw error;`
`throw new Exception(error.Message);`
`return;`
Check
Ask AI about this kata
Report an error
previous kata
What count does the program print after awaiting the combined task?
Predict the output
next kata
Review generated price client
Review AI code
A new version is available
Reload