Spec Sharp is a programming language created in 2004. Spec# is a programming language with specification language features that extends the capabilities of the C# programming language with Eiffel-like contracts, including object invariants, preconditions and postconditions. Like ESC/Java, it includes a static checking tool based on a theorem prover that is able to statically verify many of these invariants. It also includes a variety of other minor extensions to the language, such as non-null reference types. Read more on Wikipedia...

16Years Old 20Users ?Jobs

Example code from Wikipedia:

static int Main(string![] args)
        requires args.Length > 0;
        ensures return == 0;
        foreach(string arg in args)
        return 0;

Last updated August 9th, 2020

Edit Spec Sharp on GitHub