I don't see anything wrong with Razor's suggestion. It should work. Of course, you need to have the constants ROW_SIZE and COLUMN_SIZE defined at the point where you have your declaration. Could that be the problem?
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE