How can i avoid cast numbers to booleans in C#? : <p>I am writing a component for grasshopper in c#. But went i pass a number through a boolean it give me a a false or a true value. How can i add a exception to this event. I only want to pass as parameter booleans types</p>
