do datatype choices affect performance?
<p>I have an object model that I use to fill results from a query and that I then pass along to a gridview.</p>

<p>Something like this:</p>

<pre><code>public class MyObjectModel 
{
   public int Variable1 {get;set;}
   public int VariableN {get;set;}
}
</code></pre>

<p>Let's say variable1 holds the value of a count and I know that the count will never get to become very large (ie. number of upcoming appointments for a certain day). For now, I've put these data types as int. Let's say it's safe to say that someone will book less than 255 appointments per day. Will changing the datatype from int to byte affect performance much? Is it worth the trouble?</p>

<p>Thanks</p>
