18
Answers

Understanding this code snippet

Sahil Dev

Sahil Dev

8y
489
1
Can anyone tell me what does this part of the code do?
 
what is meant by 'get set' here?
 

 

 

  1. public struct XYZ     
  2.  {  
  3.   
  4.   
  5.         public bool A { getset; }  
  6.         public bool B{ getset; }  
  7.         public bool C { getset; }  
  8.   
  9.     }  

 

 

Answers (18)