Skip to content

InputBuffer.Negate()

Yi Zhang edited this page May 28, 2018 · 1 revision

Namespace: UtilityClassLibrary

Description: Negates the value held in buffer.

Returns Description
void this method does not return anything

Examples:

var buffer = new InputBuffer();

buffer.Add("9"); //now contains "9"
buffer.Negate(); //now contains "-9"
buffer.Negate(); //now contains "9"

Clone this wiki locally