EDIT: Given your edited sample code, you do not need to pass ref this , because since the accepted state of the response is already a link.
You cannot pass the this link to the link because it is permanent; passing it ref, it could be changed - this is nonsense regarding C #.
Closest you can do:
var this2 = this; foo(ref this2);
Andras zoltan
source share