Quantcast
Viewing all articles
Browse latest Browse all 27400

VS 2012 Multidimensional array

This is the first time I've ever used a multidimensional array so bare with me. I'm trying to have a list of lists, I have a combobox that when selected it populates a listbox. So the combobox is the first list and the listbox is the second. So basically it looks like:

(RGB, Red)
(RGB, Blue)
(RGB, Green)
(CMYK, Cyan)
(CMYK, Magenta)
(CMYK, Yellow)
(CMYK, Black)

How would I get the length of the second dimension of the array? I've looked around and seen other suggest GetLength and GetUpperBound, but how do I determine the first dimension?

Viewing all articles
Browse latest Browse all 27400

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>