Marshal By Reference
All types which derive from MarshalByRefObject will marshal by reference. These object instances do not travel between AppDomain instances and cannot be accessed directly. They are allocated in a specific AppDomain and do not leave it and a proxy is manipulated to show changes in the main object.
Marshal By Value
The opposite of MarshalByRefObject. When these values are passed across AppDomain boundaries they are are serialized and 2 instances are created, one in each domain.
Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!