C#: assign array with params argument

后端 未结 0 388
独厮守ぢ
独厮守ぢ 2021-02-04 22:45

What speaks against doing this?:

public struct T
{
    private float[] Elements { get; set; }

    public T(params float[] elements)
    {
        Elements = elem         


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