You can use a
Dictionary[
^]:
Dictionary<string, string> authorizationModules = new Dictionary<string, string>()
{
{ "01", "Apps Users Authorization"},
{ "02", "Device Authorization"},
...
};
Quote:
i need to loop through the array
You can loop over a Dictionary like this:
foreach (KeyValuePair<string, string> pair in authorizationModules)
{
string key = pair.Key;
string value = pair.Value;
}