using System.Collections.Generic;
public static void Main()
string json = new WebClient().DownloadString("https://uinames.com/api/?amount=10");
List<Person> lst = JsonConvert.DeserializeObject<List<Person>>(json);
Console.WriteLine("Name: "+x.name+" "+x.surname);
public string name { get; set; }
public string surname { get; set; }
public string gender { get; set; }
public string region { get; set; }