Why it isn't possible to declare a method parameter as var type.

Posted by wonde on Stack Overflow See other posts from Stack Overflow or by wonde
Published on 2010-04-04T19:57:57Z Indexed on 2010/04/04 20:03 UTC
Read the original article Hit count: 123

Filed under:
|

I wonder why is is not possible a method parameter as var type like

   private void myMethod(var myValue) {
      // do something
   }

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET