title: Combine two list objects to form a List<string>
body: <p>I have a list with multiple fields and two objects, My requirements is to form a <code>List&lt;string&gt;</code> from objects with '/' separated.</p>
  
  <p>For example : list contains<br/></p>
  
  <ul>
  <li><p>object 1:</p>
  
  <ul>
  <li>object1[0] = test</li>
  <li>object1[1] = test2</li>
  </ul></li>
  <li><p>object 2:</p>
  
  <ul>
  <li>object2[0] = name</li>
  <li>object2[1] = name 2;</li>
  </ul></li>
  </ul>
  
  <p>I should get strings in format of test/name, test2/name2;</p>
  
  <hr>
  
  <p>Exact Code :</p>
  
  <p>I am trying inject to model using value injector from List</p>
  
  <pre><code> var resultList = vReturn.ToList();
          List&lt;UserSearchedModel&gt; models = new List&lt;UserSearchedModel&gt;();
          resultList.ForEach(u =&gt;
              {
                  UserSearchedModel model = new UserSearchedModel();
                  model.InjectFrom(u);
                  model.Roles = string.Join(",", ObjectHelper.GetPropertyValue&lt;IList&lt;string&gt;&gt;(u, "Roles", null));
                  models.Add(model);
              });
  
          return models;
  </code></pre>
  
  <p>My list contains two objects i would like to insert in to view model in <strong>Role/GroupCode</strong> Format in seperated.
  Role1/GroupCode1, Role2/GroupCode2</p>