public int Percentage { get; set; }Public Property Percentage As Integer
Get
Setpublic:
property int Percentage {
int get ();
void set (int value);
}member Percentage : int with get, set| ArgumentOutOfRangeException | An exception is thrown if the value is not between 0 and 100. |