How can pass list from controller to view in asp.net mvc?
<p>I'm new in <code>asp.net mvc</code> and have this class in controller:<br/></p>

<pre><code>public class StudyClass
        {
            public int id { get; set; }
            public string StudyName { get; set; }
        }
</code></pre>

<p><br/>
fill it that class with this code:<br/></p>

<pre><code>List&lt;StudyClass&gt; myList = new List&lt;StudyClass&gt;();
            foreach (var item in Query_Result)
            {
                StudyClass ClassStudy = new StudyClass();
                ClassStudy.id = int.Parse(item.Value);
                ClassStudy.StudyName = item.Text;
                myList.Add(ClassStudy);

            }
            ViewBag.List = myList;
</code></pre>

<p><br/>
now want to in view page access that list,write this code:<br/></p>

<pre><code>@foreach (var item in (List&lt;String&gt;)ViewBag.List)
            {
                &lt;li&gt;
                    @item
                &lt;/li&gt;
            }
</code></pre>

<p><br/> but get this error:<br/></p>

<pre><code>{"Cannot convert type 'System.Collections.Generic.List&lt;BookProject.Controllers.HomeController.StudyClass&gt;' to 'System.Collections.Generic.List&lt;string&gt;'"}
</code></pre>

<p><br/>
how can i solve that problem?thanks.</p>