Error!
Success!

ref on Reference Type?!

0
kicks

ref on Reference Type?!  (Unpublished)

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?


Kicked By:
Drop Kicked By: