what are the set and get
in this code what its use
public class Members_Only { public int Height { get; set; } public int Width { get; set; } }
It is a class DataMember or in order words property. It is used to hold data and must have any one or both set and get methods
If you have set method you can save data and if you have get method you can get the saved data
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.