Forums - C# Corner

Forum guidelines
Jay S

Jay S

  • 1.3k
  • 211
  • 36.1k

Import/Export Generic List Objects

May 7 2013 11:42 AM
I have a number of list (objects?).

For example:

private System.Collections.Generic.List<Person> Person;
this.People = new System.Collections.Generic.List<Person>();

What I'd like to do is somehow export these lists out..don't mind what format..flatfile..whatever..

And then be able to import them in "recreating" the list (object?)

Any direction would be appriciated.


Answers (29)