I deserialize a JSON File in the code below I don't want to use the complete path and if I run this project on any system I won't have any problem. what should I do?
public static List<DtoCustomer> Deserialize()
{
List<DtoCustomer> result =
JsonConvert.DeserializeObject<List<DtoCustomer>>(
File.ReadAllText(@"C:\Users\Customers\Customers\Properties\customer.json"));
return result;
}
}