仅有。 在C#中,你可以写上<代码>lhs=rhs,如果其指示数按价值复制,请注明编号。
Does the .NET CLI support doing either on any type of object? Can i create a struct Pt { int x, y; }
and do something like
Pt pt
var pt_ref=&pt
pt_ref.x=99 //pt.x is now 99
var pt_cpy=pt
pt_cpy.x=88 //nothing else has changed