Do we have System.Diagnostics.Debug.Assert() support in .net core with C#? Is there a alternative for this based on .net core?
You can check the API documentation, from there you can see both .NET Core 1.0 and newer and NetStandard 1.0 and newer both support Debug.Assert(bool)
.
If it is not working for you, you might need to include the NuGet package System.Diagnostics.Debug
in your project for it to show up.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With