title: Comma separated string to List of int Automapper
body: <pre><code>public partial class Source()
  {
     ...............
     public string Assignees { get; set; }
     ...................
  }
  public partial class Destination
  {
     ...............
     public List&lt;int&gt; Resources { get; set; }
     ...................
  }
  </code></pre>
  
  <p>I'm mapping these classes like this</p>
  
  <pre><code>Mapper.CreateMap&lt;Source, Destination&gt;().ForMember(x =&gt; x.DestID, y =&gt; y.MapFrom(z =&gt; z.SrcID));//Automapper version 4.2.1.0
  </code></pre>
  
  <p>I'm getting the expected results for all the values,but the problem is with field <strong>Assignees</strong> in Source which is comma seperated string. It contains data like <strong>"1,4,6,8"</strong></p>
  
  <p>What i expect:</p>
  
  <p>I want them to convert to <strong>List of int</strong> when mapping takes place.</p>
  
  <p>Please provide any valueable inputs. Thank you.</p>