Is it necessary to avoid unboxing when dealing with an array of struct instances?

前端 未结 0 1149
予麋鹿
予麋鹿 2021-02-03 10:59

Let\'s say we have a struct as:

public struct Rectangle {
   public Rectangle (int l, int w) {
       this.Length = l;
       this.Width = w;
   }
   public int L         


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