Will this struct be allocated on the stack?

前端 未结 0 1314
天涯浪人
天涯浪人 2020-12-23 02:33

This is my struct

public struct Timer
{
    private readonly float _duration;
    
    public float Time { get; private set; }

    public Timer(float duratio         


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