System.ValueType

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am pretty new to C#. I was debugging a project that I developed, and I
noticed in the locals window that one of the members in my structure is
System.ValueType. This could affect the way structures have to be treated
when interfacing with unmanaged libraries. Is this an actual member created
in the structure? If it is, a pointer that is incrementing in an unmanaged
library and performing a task on all the members of a structure will run into
it. How does this affect that interaction?

Thanks,

kat
 
kat said:
Hi,

I am pretty new to C#. I was debugging a project that I developed, and I
noticed in the locals window that one of the members in my structure is
System.ValueType. This could affect the way structures have to be treated
when interfacing with unmanaged libraries. Is this an actual member
created
in the structure?

No. ValueType is the base type for all structures, and in the debugger,
base types are shown like members.

David
 
Back
Top