Click here to Skip to main content
15,890,438 members
Articles / Programming Languages / C#

Can the C# ‘var’ keyword be misused?

Rate me:
Please Sign up or sign in to vote.
2.84/5 (11 votes)
10 Jun 2011CPOL 9.5K   1  
I think this is a nice future, for example look this code:Dictionary > myDic = new Dictionary >();We really need to tell the compiler in this expression what the type of myDic is?This is more concise and clear at...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions