Does a generic field in a class allocate differently if generic type is struct vs. class?

后端 未结 0 1705
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-01 12:01

If I have a class

class DataContainer
{
    public TData data;
    ...
}

And I have two other types which may be contained in it

相关标签:
回答
  • 消灭零回复
提交回复
热议问题