C# convert string to multi-dimensional array help!
Hi,
I'm having trouble converting a string to multi dimensional array
My string is:
String test = "1,1,1,1,2,3,45,34,1,2,4,2,1,2,3,4,5,6";
How would I manage to get it like this:
int testing = {
{1,1,1,1,2,3}, //x = 6
{45,34,1,2,4,2}, //x = 6
{1,2,3,4,5,6} //x = 6
};
Not sure how to do this in C#. The String will change but i still want the length of X to be 6.
Thanks.