Η ερωτηση ειναι στην ουσια θα κανουμε σε μια αλλη κλαση
class propertiesDate
{
private int month;
public propertiesDate(int mm)
{
month = mm;
}
public int Month{
get
{
return month;
}
set
{
month = value;
}
}
}
και ο ελεγχος των τιμων?
class propertiesDate
{
private int month;
public propertiesDate(int mm)
{
month = mm;
}
public int Month{
get
{
return month;
}
set
{
month = value;
}
}
}
και ο ελεγχος των τιμων?