Click here to Skip to main content
15,895,142 members
Articles / Programming Languages / C#

Can the C# ‘var’ keyword be misused?

19 Nov 2009CPOL 2.1K   1   6
Totally agree. Hideous construct and when working in a strongly-typed environment being able to tell at a glance what type you're using is a must. The only thing it promotes (apart from its use in LINQ) is laziness.I wish resharper, by default, didn't try to replace all typed variable declaratio
Only logged in members can view this content

Please go to the C# Table of Contents to view the list of available articles in this section.