title: C# items check from list of model, and return specific parameter from model
body: <p>I am trying to check if any string from <code>e.ChatMessage.Message</code> contains any <code>TrigerWorld(WorldToTrigger)</code> from model <code>TrigerWord</code>. And it should return correct phrase (<code>FrazeCoSeObjevi</code>) from TrigerWords. I tried it like this.</p>
  <p>Thanks for any answer.</p>
  <pre><code>List&lt;string&gt; WordInMessage = e.ChatMessage.Message.Split(' ').ToList();
  
  foreach (var item in WordInMessage)
  {
      var items = (from x in TrigerWorlds
                   join y in WordInMessage on x.Source equals y
                   select x).ToList():
  }
  </code></pre>
  <p>There is the model class:</p>
  <pre><code>namespace FaxSoftware
  {
      public class TrigerWorlds
      {
          public string WorldToTriger { get; set; }
          public string FrazeCoSeObjevi { get; set; }
      }
  }
  </code></pre>