Tag Archives: The problem of using var to declare variable

The problem of using var to declare variable

People just over use var to declare variable. var is good if you have a statement like var result = from r in someList; It will be very bad to use var like the example below from https://magedfarag.wordpress.com/2012/12/14/call-wcf-sevice-using-only-webclient-and-soap-xml/ (if the … Continue reading

Posted in .Net, Community, Computers and Internet | Tagged | Leave a comment