For Structure
1) There can be methods and attributes
2) It is sealed and cannot be inherited, or inherit other structures
3) The structure is implicitly inherited from system. valuetype
4) The structure has a default non-parameter constructor. Each field can be initialized to the default value, but this default constructor cannot be replaced, even if a constructor with parameters is overloaded
5) No structure destructor
6) Except for the const member, the structure fields cannot be initialized when the structure is declared.
7) the structure is a value type. When defined (although the new operator is also used), stack space is allocated and its values are stored in the stack.
8) the structure is mainly used for small data structures. for better performance, do not use too large structures.
9) The close () or dispose () method can be provided for the structure like the class.
If communication programs are often used, the struct is very useful (we recommend that you use the struct to organize data more effectively), and the conversion between the byte data and the struct is also encountered,