Is it possible to output a collection without having an entirely separate model?
<p>The Contoso university gave this as an example:</p>

<p>How do I append this code to allow me to output the <code>ICollection</code> attribute of <code>Instructor</code></p>

<pre><code>  public class Instructor : Person
    {
        [DataType(DataType.Date)]
        [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)]
        [Display(Name = "Hire Date")]
        public DateTime HireDate { get; set; }

        public virtual ICollection&lt;Course&gt; Courses { get; set; }
        public virtual OfficeAssignment OfficeAssignment { get; set; }
    }
}
public class Course
    {
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        [Display(Name = "Number")]
        public int CourseID { get; set; }

        [StringLength(50, MinimumLength = 3)]
        public string Title { get; set; }

        [Range(0, 5)]
        public int Credits { get; set; }

        public int DepartmentID { get; set; }

        public virtual Department Department { get; set; }
        public virtual ICollection&lt;Enrollment&gt; Enrollments { get; set; }
        public virtual ICollection&lt;Instructor&gt; Instructors { get; set; }
    }
</code></pre>

<p>Here is the view that outputs the instructor details:</p>

<pre><code>@model ContosoUniversity.Models.Instructor

@{
    ViewBag.Title = "Details";
}

&lt;h2&gt;Details&lt;/h2&gt;

&lt;div&gt;
    &lt;h4&gt;Instructor&lt;/h4&gt;
    &lt;hr /&gt;
    &lt;dl class="dl-horizontal"&gt;
        &lt;dt&gt;
            @Html.DisplayNameFor(model =&gt; model.OfficeAssignment.Location)
        &lt;/dt&gt;

        &lt;dd&gt;
            @Html.DisplayFor(model =&gt; model.OfficeAssignment.Location)
        &lt;/dd&gt;

        &lt;dt&gt;
            @Html.DisplayNameFor(model =&gt; model.LastName)
        &lt;/dt&gt;

        &lt;dd&gt;
            @Html.DisplayFor(model =&gt; model.LastName)
        &lt;/dd&gt;

        &lt;dt&gt;
            @Html.DisplayNameFor(model =&gt; model.FirstMidName)
        &lt;/dt&gt;

        &lt;dd&gt;
            @Html.DisplayFor(model =&gt; model.FirstMidName)
        &lt;/dd&gt;

        &lt;dt&gt;
            @Html.DisplayNameFor(model =&gt; model.HireDate)
        &lt;/dt&gt;

        &lt;dd&gt;
            @Html.DisplayFor(model =&gt; model.HireDate)
        &lt;/dd&gt;

    &lt;/dl&gt;
&lt;/div&gt;
&lt;p&gt;
    @Html.ActionLink("Edit", "Edit", new { id = Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
&lt;/p&gt;
</code></pre>