Why sometimes we need to initialize structs while sometimes not?

后端 未结 0 1119
长发绾君心
长发绾君心 2021-02-04 09:13

Let\'s say we have the following code:

struct Point {
   public Int32 m_x, m_y;
}

class Rectangle {
   Point p;
}

//Program.cs
static void Main(string[] args) {         


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