title: Is implicitly casting objects via function parameters expensive?
body: <p>Is implicitly casting objects via function parameters expensive?</p>
  
  <p>For example</p>
  
  <pre><code>Class MyClass : IClass
  </code></pre>
  
  <p>and the function takes an IClass but instead I give it an MyClass Variable.</p>
  
  <pre><code>MyFunction(IClass myClass) {}
  MyClass test = new MyClass()
  MyFunction(test);
  </code></pre>
  
  <p>Is this performance hindering just like normal casting?</p>
  
  <p>EDIT:</p>
  
  <p>I edited it to a case that would compile, sorry. How does this look now?</p>