Int16.IUnaryNegationOperators<Int16,Int16>.UnaryNegation(Int16) Opérateur

Définition

Calcule la négation unaire d’une valeur.

C#
static short IUnaryNegationOperators<short,short>.operator -(short value);

Paramètres

value
Int16

Valeur pour laquelle calculer la négation unaire.

Retours

Négation unaire de value.

Implémente

S’applique à

Produit Versions
.NET 7, 8, 9, 10