Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# discussion: Redundant class names?
Message
De
29/07/2008 12:22:05
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01334856
Message ID:
01334963
Vues:
8
var still strongly types the variable. var was added to support LINQ, where you may not know the data type you're getting out of a LINQ statement. The compiler figures it all out.

>I thought they originally didn't want 'var'. Doesn't it go against the C# design principle of strong typing?
>
>Are you using C# as a primary tool? If so, how do you like it?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform