title: Is Not Equal in linq in c#
body: <p>I am using Linq in my project.</p>
  
  <p>I want all teachers from viewTeachers where Mailcode is not equal to 20.</p>
  
  <p>My code is</p>
  
  <pre><code>var startWithFullName = from v in Db.viewTeachers
                                              where v.FullName.StartsWith(prefix) &amp;&amp; !v.MailCode.Equals(20)
                                              orderby v.FullName
                                              select new { v.ID, v.FullName };
  
                      foreach (var teacher in startWithFullName)
                      {
                          teacherTable.Rows.Add(teacher.FullName, teacher.ID);
                      }
  </code></pre>
  
  <p>I have written </p>
  
  <pre><code>!v.MailCode.Equals(20)
  </code></pre>
  
  <p>But not sure its correct on not.</p>
  
  <p>Can any one tell me how can I do this?</p>