Das ist eine CLS-kompatible ganze Zahl mit Vorzeichen und einer Länge von 16 Bit.
Sie müssen den Typ des privaten personAge-Felds nicht ändern.
C #
msdn.microsoft.comYou can make the Person class CLS-compliant by changing the type of Age property from UInt16 to Int16, which is a CLS-compliant, 16-bit signed integer.
You do not have to change the type of the private personAge field.
C #
msdn.microsoft.comYou can suggest improvements to this PONS entry here:
How can I copy translations to the vocabulary trainer?
Please note that the vocabulary items in this list are only available in this browser. Once you have copied them to the vocabulary trainer, they are available from everywhere.