In C#, why should I use the 'var' data type?

Posted by mcass20 on Stack Overflow See other posts from Stack Overflow or by mcass20
Published on 2010-04-29T20:12:31Z Indexed on 2010/04/29 20:17 UTC
Read the original article Hit count: 546

Filed under:
|
|
|

In C#, is there any reason to use the var data type other than to reduce "code noise"? I'm struggling to see a real value here.

© Stack Overflow or respective owner

Related posts about c#

Related posts about datatypes