QuantumComputer DeleteRegister Method A Sandcastle Documented Class Library
Deletes register, given in argument, with its references, which enables freeing the memory by garbage collector. Registers consume large amount of memory, so this method is very useful when computations are complex and requires many registers.

Namespace: Quantum
Assembly: Quantum (in Quantum.dll) Version: (

public void DeleteRegister(
	ref Register register


Type: Quantum Register 
Register to delete. After deletion, this parameter becomes null.
See Also