我怎样才能使这段代码更好更短?
<select id="products" name="products" multiple="multiple">
<% foreach (var item in Model.Products){%>
<option value="<%= item.Id%>"
<% if (item.isAvailable)
{
response.write("selected='selected'");
}
%> >
<%= item.Name%>
</option>
<% } %>
</select>