I am currently doing it in a for loop, and I know in C there is the ZeroMemory API, however that doesn\'t seem to be available in C#. Nor does the somewhat equivalent Array.
Try Array.Clear():
Sets a range of elements in the Array to zero, to false, or to null (Nothing in Visual Basic), depending on the element type.
false
null