ref on Reference Type?!(kodefuguru.com)
submitted by
KodefuGuru(2599) 2 years, 8 months ago
I recently came across a piece of code that had almost every parameter for every method marked with the ref keyword. This keyword is primarily used to pass a value type by reference, but this one even had reference types marked with the keyword. This made me wonder, why exactly would you ever want to pass a reference type as a ref parameter?
|category: C#
|Views: 3
tags:
C# another
Everyones tags:
Your Tags: