Yes C# has secret commands which microsoft do not tell us.Here is on of them
int x = 13;
TypedReference tRef = __makeref(x);
int g = __refvalue(tRef,int);
typed references are objects that contain both a managed pointer to a location and a runtime representation of the type that may be stored at that location.
No comments:
Post a Comment