I have the followings:
Class Pet
public string PetType {get; set;}
public string PetName {get; set;}
public int PetAge {get; set;}
Class Person
public string Name {get; set;}
public int Age {get; set;}
public List<Pet> ListOfPets {get; set;}
Class ViewModel
public ObservableCollection<Person> People {get; set;}
I wish to serialize the People
object into a csv
file.
Can such task be achieved?
I found a CSV Serializer
which can only handle strings.