I am looking for a better way or most elegant way to save multidimension string array.
This is the scenario:
instead of saving a list with languages in sql table I want to save it in an array/ararylist/object so I can access it quicker.
It would contain:
{
{"en-US", "English"},
{"ro-RO", "Romanian"},
{"pt-PT", "Portuguese"}
}
This list might contain many other things.
Please excuse me but I did not found any solution yet on Stack.
Have you considered using a Dictionary?
e.g.