Groups | Blog | Home
all groups > dotnet general > may 2004 >

dotnet general : Passing a dataset as Ref or Out parameter


San
5/10/2004 11:21:02 PM
hello

1. Is it a good practice to pass a dataset or any ref variable as Out or Ref Parameter
2. Can we have both ref and out together in the method declaration

Jon Skeet [C# MVP]
5/11/2004 9:22:52 AM
[quoted text, click to view]

Not usually.

[quoted text, click to view]

No. What would you expect it to do?

See http://www.pobox.com/~skeet/csharp/parameters.html for more
information about parameter passing.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
AddThis Social Bookmark Button