private
Apple apple
;
public
FruitHolder
(
ref
Apple apple
)
{
this
.
apple
=
apple
;
}
public
void
DoSomethingWithApple
(
)
{
this
.
apple
=
new
Apple
(
)
;
// this is not saved? is there any way to?
}