title: How to check if an integer includes a certain number in c#
body: <p>Is there a way I can check Integers if they contain a certain number in C#?</p>
  
  <blockquote>
    <p>For example:</p>
    
    <p>I want to check for 7.  When I enter 17, the code will return 1.  When I enter 28, the code will return 0.</p>
  </blockquote>
  
  <p>Thank You</p>