title: Abstract Class to act as List Manager (List containing Lists) to reduce boilerplate code?
body: <p>Lets say I have the Person Class that has two lists (Email and PhoneDetails) and some people have more than one of each.</p>
  
  <p>PhoneDetails has variables like: Number, Provider, PlanName... And Email is similar.</p>
  
  <pre><code>public class Person
  {
      private String _FirstName;
      private String _LastName;
      private DateTime? _DateOfBirth = null;
      private List&lt;Email&gt; _Email = new List&lt;Email&gt;( );
      private List&lt;PhoneDetails&gt; _PhoneDet = new List&lt;PhoneDetails&gt;( );
  }
  </code></pre>
  
  <p>Instead of writing the add, find, insert... for each one, I'm trying to think of a way to create a List Manager Abstract Class (or something) so I don't have to make all that boilerplate code, but can still manage the lists in a semi-controlled way (like permissions within the Person class)?</p>
  
  <p>I'm sure that <code>List&lt;List&lt;object&gt;&gt; ListMgr = new List&lt;List&lt;object&gt;&gt;();</code> is a start, but it is just too daunting for me to figure out with my current skill level.</p>
  
  <p>I know this is WAY beyond me, as I'm getting started, but I couldn't find anything like this anywhere and, because I use a lot of lists, thought I'd put it out here. Just not sure if Public is the best way to go...</p>
  
  <p>Thank you.</p>