Is it possible to check values at compilation?
<p>Is it possible in C# to have some sort of check list when compiling to ensure parameters to functions are certain values?</p>

<p>For example, can I check that the parameter of this function is always greater than 10 at compile time?</p>

<p>void SomeFunction(1); &lt;--- Compile error here</p>
