Multi Dimensional Array and C#
Posted on 2014-09-24
I have something like the following string. "Smith, Jones, Hughes".
It's comma-delimited. I can split that based on a "," into an array.
But what I need is a 2 dimensional array after that string is supplied.
So, something like:
Later in my processing I will change like:
Initially, I need to start with a "Smith, Jones, Hughes" but I need to have a single-dimensional array go into a 2 dimensional array where the second dimensional defaults to an "N".
Later, when necessary I will update to a "Y" for an specific first index.
How would/could I do this?
Any information would be greatly appreciated.