I want to store string into string array, but it shows error. Here is my code:
List <ResponseObject> myresponse =JsonConvert.DeserializeObject<List<ResponseObject>>(responseFromServer);
string [] DomainArray;
for (int i = 0; i < myresponse.Count; i++)
{
for (int j = 0; j < myresponse[i].EmailAddressSuffixes.Count; j++)
{
DomainArray = myresponse[i].EmailAddressSuffixes[j];
}
}
string [] DomainArray = new string[myresponse.Count];