Answer the question
In order to leave comments, you need to log in
How to declare an array of this type in c#?
Hello.
Can you tell me how to create an array of this type using standard C# tools
? char[][] jaggedArray =
{
new char[] { 'A', 'B', 'C' },
new char[] { 'A', 'C' },
new char[] { 'A', 'B' }
};
but I think there must be some other way(s). List is not quite suitable (although this option is interesting to look at), so I'm more interested in a simple way. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question