var ans = await client.GetStringAsync(uri);
        JToken[] JSONResponseWeb = new JToken[1];
        JToken[] JSONResponseImage = new JToken[1];
        JSONResponseWeb = JToken.Parse(ans)["webPages"]["value"].ToArray();
        JSONResponseImage = JToken.Parse(ans)["images"]["value"].ToArray();
How to prevent null reference function here? ie...suppose the api that i consume doesnt have a property "images"
 
     
    