Bitmask.Change

Method in Bitmask

Declaration

public void Change(int n, int x)

Description

Sets the nth bit of the bitmask to x.

Parameters

nThe nth bit to set.
xThe value to set the bit to.