News for hackers. Stuff that matters.
Re:Notes on Idris (2017) by bakhy on Thursday June 07, 2018 @02:54PM (#17258975)
For C#, and all .NET languages, there are Code Contracts. I've never used them, but they seem to be maintained and relatively easy to use. The docs, with a good example at the end, are here: https://docs.microsoft.com/en-us/dotnet/framework/debug-trac...

Edit: Actually it seems abandoned, with no support for .NET Core right now. Shame.

There are no comments on this comment yet.