title: compare string in multiple object list
body: <p>I'm new programming, please excuse me if my question isn't properly ask</p>
  <p>so I have an API call that returns</p>
  <pre><code>public class ProjectMinInfo
   {
          public string ProjectId { get; set; }
          public string Name { get; set; }
          public string Company { get; set; }
          public class ProjectMinInfos
          {
              [JsonProperty(&quot;@odata.context&quot;)]
              public string OdataContext { get; set; }
              public List&lt;ProjectMinInfo&gt; value { get; set; }
          }
  }
  </code></pre>
  <p>I have another Api call that returns multiple result of</p>
  <pre><code>public class ResourcesAvailable
  {
      public string ResourceId { get; set; }
      public string Description { get; set; }
      public string ResourceType { get; set; }
      public int ResourceSeq { get; set; }
      public string Companies { get; set; } //note this string could contain more than 1 value i.e &quot;1&quot;,&quot;5&quot;
      public class ResourcesAvailables
      {
          [JsonProperty(&quot;@odata.context&quot;)]
          public string OdataContext { get; set; }
          public List&lt;ResourcesAvailable&gt; value { get; set; }
      }
  }
  </code></pre>
  <p>I need a function that looks at all the multiple <code>public string Companies{ get; set; }</code> in the second API call and then outputs only the result that contains string value similar to <code>public string Company { get; set; }</code> in first API call .</p>