Possible Duplicate:
What's the point of the var keyword?
What advantages does using var have over the explicit type in C#?
I always see other people producing code like:
var smtp = new SmtpClient();
But why use var instead of SmtpClient in this case? I ALWAYS use 
SmtpClient smtp = new SmtpClient();
Is var more efficient? Why use var instead of the actual variable type? Am I missing something?
 
     
     
     
     
     
    