dimanche 19 mai 2019

Dictionary

How do I convert a Dictionary to class and subclasses recursively? These are my classes: class Program { class Provider { public string Id { get; set; } public Address Address { get; set; } public Address Address2 { get; set; } public List Specalities; }

class Address
{
    public string Street { get; set; }
    public string City { get; set; }
    public string State { get; set; }
    public string Zip { get; set; }
}

class Speciality
{
    public string Description { get; set; }
}

}





Aucun commentaire:

Enregistrer un commentaire