Why can't I find the Var keyword in my Visual C# 2008 Studio?
I have this version:
Microsoft Visual C# 2008 Express Edition
U开发者_如何学JAVAsing this function:
var X = new WebClient();
Var isn't recognized by my IDE. Thanks.
Are you trying to use it for a class member? var
is only valid for local variables within a function.
精彩评论