title: Change repeater li item class if first or last
body: <p>I'm using repeater to create dynamic ul li list</p>
  
  <p>Is it possible to control class whether item is first or last?</p>
  
  <p>Something like:</p>
  
  <pre><code>class="&lt;%# if(Container.ItemIndex == 0)
     {
          class = ... 
     }
     ) %&gt;"
  </code></pre>
  
  <p>by the way what does it really mean: <code>&lt;%#</code> in ASP.NET</p>
  
  <p>What is the difference between <code>&lt;%#</code> and <code>&lt;%=</code>? </p>