Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using var benefits
Message
From
27/05/2011 10:15:34
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Using var benefits
Environment versions
Environment:
C# 4.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01512055
Message ID:
01512055
Views:
116
Hi all,

Is there any performance benefits to using or not using var to declare objects?

Is this better in some way (or not)
DBRange range = new DBRange();

over this:
var range = new DBRange();
Thanks
Timothy Bryan
Next
Reply
Map
View

Click here to load this message in the networking platform