Hi,
This is called Serialization. Look at the article below to have more informations :
it convert an object to a file, then the second process could read this file deserialize.
You can even send this file through the network by a socket and deserialize it on the other side of the wire :).
Object Serialization using C#[
^]
Best regards.
EL GAABEB.