csharp return ref code example
Example: cannot initialize a by-value variable with a reference
// must declare variable as ref as well!
ref int x = ref SomeClass.variable;
// must declare variable as ref as well!
ref int x = ref SomeClass.variable;