1. The difference between a structure and a class lies in the storage and access methods. A structure is a value data type, and a class is a one-to-one reference data type. The so-called value data type storage exists in the heap, and the reference data type is stored in the stack, which is equivalent to storing a pointer. Structure is a common structure question. in C #, the structure is written as follows: struct point {public int x; public int y; public double length (){;;;; return length ;}} 2. The enumerated type is in the following format: public enum toggle {on, off}. The default value of the enumerated variable is 0, and then Increments at a time. Of course, you can also set the first value to 1, so the subsequent values continue to increase. 3. the array format is as follows: decimal [] balances; balance = new decimal [12]; decimal [] ee = new decimal [3] {1, 2, 3}; you can initialize the array directly.