title: LinQ How to get all the data from the range of numbers
body: <p>I am new to <code>LinQ</code> and I want to get all the data from a range of numbers when I pass a parameter. For an example, the range is 1-100 and I pass in <code>40</code>, it should get all the data from <code>1-100</code> but not only <code>40</code>. Any ideas?</p>
  
  <p>Thanks</p>