Monday, June 13, 2005

What's the difference btw 'out' and 'ref' parameters?

Why does .NET have both 'out' and 'ref' parameters?
(Hint: I have observed that after compilation, the IL assembly code of both 'out' and 'ref' is same)