IEnumerable<SelectListItem> error question
<p>I have the following code, but i`m having error of </p>

<blockquote>
  <p>Error 6 foreach statement cannot operate on variables of type 'int' because 'int' does not contain a public definition for 'GetEnumerator' C:\Dev\DEV\Code\MvcUI\Models\MappingModel.cs 100 13 MvcUI</p>
</blockquote>

<h2>How can I solve this?</h2>

<p>Note: </p>

<pre><code>string [] projectID;


    Class Project
    {
        int id {get; set;}
        string Name {get;set;}
    }
</code></pre>

<hr>

<pre><code> public IEnumerable&lt;SelectListItem&gt; GetStudents()
    {
        List&lt;SelectListItem&gt; result = new List&lt;SelectListItem&gt;();
        foreach (var id in Convert.ToInt32(projectID))
        {
            foreach( Project project in Project.Load(id))
                result.Add(new SelectListItem
                {
                    Selected =  false,
                    Text = emp.ID.ToString(),
                    Value = emp.Name
                });

            return result.AsEnumerable();
        }


    }
</code></pre>
