I am trying to DeserializeObject but have not idea how to reach the object within the brackets []
dynamic response = null;
response = JsonConvert.DeserializeObject(apiResponseContent);
apiResponseContent =
"CasinoId: " + response.Result.FirstName + "\r\n" +
"PlayerId: " + response.Result.Id
The response which I am trying to parse it:
"{\"Status\":{\"ErrorCode\":0,\"ErrorName\":\"SUCCEED\",\"ErrorMessage\":\"\",\"ReferenceNumber\":\"\"},\"Result\":[{\"FirstName\":Adam,\"Id\":6161999\"}]}"
Would appreciate as answer