3
Answers

C sharp structs

I have two questions:-

1. Why is it that in c sharp structure, the default constructor is responsible for initializing our fields and we cannot initialize them by ourselves ??

2. Why is that if we declare a parametrized constructor or a method inside a structure then we have to initialize our fields inside it ?? 

 

Answers (3)