Overlaying several CLR reference fields with each other in explicit struct?

前端 未结 5 1654
日久生厌
日久生厌 2021-02-07 20:59

Edit: I\'m well aware of that this works very well with value types, my specific question is about using this for reference types.

Edit2:

5条回答
  •  清酒与你
    2021-02-07 21:10

    I'm not aware of any issues with it. Furthermore, I doubt that Microsoft would permit this usage if it was dangerous in a non-obvious way.

提交回复
热议问题