Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No Overload takes 5 arguments
Message
De
20/09/2013 12:28:22
 
 
À
20/09/2013 12:23:50
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 4.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01583574
Message ID:
01583744
Vues:
39
Not sure I agree with that statement but will accept it. However it does not mean, or imply, that there are no valid uses of either 'out' or 'ref' in other contexts.

As a general statement, I'd agree with Craig. It's better to return a structure/collection/object, than to use multiple instances of scalar out/ref items. I don't necessary agree that the use of out/ref requires knowledge of pointers (though it wouldn't hurt)....but I would only use an out/ref if I had no other choice.

And I agree, there are inconsistencies in the development tools.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform