Quick question ... Suppose I have a C # structure containing a single reference element. Are the assignments of this structure atoms in .NET? For example:
struct ReadOnlyList<T>
{
private List<T> list;
};
I know that simple old link assignments are atomic, just curious if wrapping the whole thing in a structure has any meaning ...
thanks
source
share