using System.Threading.Tasks;
using System.Collections.Generic;
public int id { get; set; }
public string title { get; set; }
public string description { get; set; }
public int price { get; set; }
public double discountPercentage { get; set; }
public double rating { get; set; }
public int stock { get; set; }
public string brand { get; set; }
public string category { get; set; }
public string thumbnail { get; set; }
public List<string> images { get; set; }
public async static Task<Product> GetInfo () {
var client = new RestClient();
var request = new RestRequest("https://dummyjson.com/products/1");
var response = await client.GetAsync<Product>(request);
public static async Task Main()
Console.WriteLine(s.description);