using Newtonsoft.Json.Linq;
public static void Main(string[] args)
WebClient client = new WebClient();
var response = client.DownloadString("https://genderapi.io/api?name=" + name + "&key=" + apiKey);
JObject jsonData = JObject.Parse(response);
var gender = jsonData.SelectToken("gender");
Console.WriteLine("Gender: {0}", gender);
Console.WriteLine(jsonData);