Hi Team,

In protobub-net if an instance of class A is referenced in two other 
instances of class B and C.
Does after de-serialization  B and C reference to a single instance A or 
two different instances of A with the same content?


class A;

class B
{
   A a;
}

class C
{
   A a;
}

class D
{
 B b;
 C c;
}

If i only create one instance of A and assign it to Class B & C data member
protobuf.serialize(d);

I think it will be diffrent object with same content.


-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to