Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No Overload takes 5 arguments
Message
From
20/09/2013 12:28:22
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01583574
Message ID:
01583744
Views:
40
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform