public class Wrapper { public G item; public G *ptr; } void main () { var item = new Wrapper> (); Wrapper inner_item = item.item; Wrapper *inner_ptr = item.ptr; }