public string[] GetstringArrayvalue(string name) { string[] arrayvalue = null; try { JsonArrayCollection jsonArrayCollection = (JsonArrayCollection)jsonObjectCollection[name]; int cnt = jsonArrayCollection.Count(); arrayvalue = new string[cnt]; for (int i = 0; i < cnt; i++) { arrayvalue[i] = ((JsonStringValue)jsonArrayCollection[i]).Value; } } catch (Exception e) { Console.WriteLine(e.ToString()); } return(arrayvalue); }