Martin Cerruti
Oct 12, 2021

--

You should rarely every use Environment.FailFast as it'll prevent finalizers, try/catch blocks and disposes from running. Only use it when your application is completely unrecoverable and further execution would only corrupt the application's state further.

--

--

Martin Cerruti
Martin Cerruti

Written by Martin Cerruti

Software Architect and Technology Writer.

No responses yet