2018 | OriginalPaper | Buchkapitel
15. Properties
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
Abstract
public
with the same data type as the field they are going to protect, followed by the name of the property and a code block that defines the get
and set
accessors.
class Time
{
private int seconds;
public int sec
{
get { return seconds; }
set { seconds = value; }
}
}