Runtime Vs assemble time blunders in C# the version between assemble time and run time is an celebration of what pointy-headed theorists call thephase huge huge difference. it really is between the hardest recommendations to study, particularly for people without a lot history in programming languages. To mind-set this problem, i stumble upon it effective to ask What invariants does this technique fulfill? What can flow incorrect in this section? If the section succeeds, what are the postconditions (what do all of us recognize)? What are the inputs and outputs, if any? assemble time this technique choose no longer fulfill any invariants. in reality, it needn’t be a properly-formed software in any respect. you need to feed this HTML to the compiler and watch it barf… What can flow incorrect at assemble time: Syntax blunders Typechecking blunders (hardly ever) compiler crashes If the compiler succeeds, what do all of us recognize? this technique became properly formed—a significant software in even with language. It’s a chance to commence operating this technique. (this technique may fail in the present day, yet a minimum of we may be able to attempt.) What are the inputs and outputs? enter became this technique being compiled, plus any header files, interfaces, libraries, or different voodoo that it had to import as a way to get compiled. Output is with any success assembly code or relocatable merchandise code or perhaps an executable software. Of if something is going incorrect, output is a bunch of blunders messages. Run time all of us recognize no longer something about this technique’s invariants—they are even with the programmer put in. Run-time invariants are hardly ever enforced by utilizing the compiler on my own; it desires help from the programmer. What can flow incorrect are run-time blunders: branch by utilizing 0 Deferencing a null pointer operating out of memory also there must be blunders that are detected by utilizing this technique itself: attempting to open a document that isn’t there attempting come across a internet web site and learning that an alleged URL isn't properly formed If run-time succeeds, this technique finishes (or keeps going) without crashing. Inputs and outputs are completely as a lot because the programmer. files, living house windows on the demonstrate screen, community packets, jobs despatched to the printer, you call it. If this technique launches missiles, that’s an output, and it takes position only at run time