Avatar of josephdaviskcrm
Flag for United States of America

asked on 

VB.NET - Fill a 2 dimensional array with zeros

I'm trying to build a method that will fill any array with zeros.  I would like to be able to pass the array into the method and have that array returned filled with zeros.

If there is a method that already does this that would obviously be even better.

Will for Each work?  What would the syntax on that be in order to fill up a multidimensional array?
.NET ProgrammingVisual Basic.NET

Avatar of undefined
Last Comment
Fernando Soto

8/22/2022 - Mon