Dibaca dalam bahasa Inggeris Edit

Kongsi melalui


Int16.PopCount(Int16) Method

Definition

Computes the number of bits that are set in a value.

public static short PopCount (short value);

Parameters

value
Int16

The value whose set bits are to be counted.

Returns

The number of set bits in value.

Implements

Applies to

Produk Versi
.NET 7, 8, 9