28. A computer-implemented method that facilitates programming utilizing mixed types in a managed code environment, comprising: employing at least one processor to execute computer executable instructions stored on at least one computer readable storage medium to perform the following acts: classifying respective portions of code as a pure native type, a pure managed type and a mixed type, the mixed type comprising at least one of: a managed class type that is not a pure managed class, the managed class type having at least one user-defined member of native type; or a native class type that is not a pure native class, the native class type having at least one user-defined member of managed type; wherein the pure native class is a native class type that does not include user-defined members or base classes of managed type or handle (^) type and the pure managed class is a managed class type that does not include user-defined members or base classes of native type, native pointer (*), or native reference (&); associating respective sections of the at least one of the managed class or the native class type of the code with the pure native type portions and pure managed type portions to facilitate compiling the code; and providing per-object garbage collection in memory, wherein a subset of objects of the at least one of the managed class type or the native class type of the code is garbage collected.
28. A computer-implemented method that facilitates programming utilizing mixed types in a managed code environment, comprising: employing at least one processor to execute computer executable instructions stored on at least one computer readable storage medium to perform the following acts: classifying respective portions of code as a pure native type, a pure managed type and a mixed type, the mixed type comprising at least one of: a managed class type that is not a pure managed class, the managed class type having at least one user-defined member of native type; or a native class type that is not a pure native class, the native class type having at least one user-defined member of managed type; wherein the pure native class is a native class type that does not include user-defined members or base classes of managed type or handle (^) type and the pure managed class is a managed class type that does not include user-defined members or base classes of native type, native pointer (*), or native reference (&); associating respective sections of the at least one of the managed class or the native class type of the code with the pure native type portions and pure managed type portions to facilitate compiling the code; and providing per-object garbage collection in memory, wherein a subset of objects of the at least one of the managed class type or the native class type of the code is garbage collected. 29. The method of claim 28 , further comprising restricting a compiler with use of Normal GCHandle (Garbage Collector Handle) and handle (^).