Why do we need structs?
Answer: We need structs if the developer have collection of value-types i.e. string and int. Thanks to structs the program get’s better performance.
What are members in a struct?
Variables.
How do you access a member inside a struct?
The developer access members with a dot i.e. p.name, p.age and p.gender.
What is a nested struct?
It is structs inside structs i.e. one structs can be declared inside another structs exactly as the developer declare structs members inside a struct.