title: How to pass a string array from controller to the view MVC4 without creating multiple actionresults?
body: <p>I am new to mvc4 so please go easy, i am trying to pass multiple names of destinations from the controller to my view. How can i do this without creating more actionresults and objects. I want to create a table with the destination names using a string array. Is this possible any help would be appreciated. Thank You in advance.</p>
  
  <pre><code>Controller:
  public ActionResult Destinations()       
  {           
     string[] arrivalAirport = new string[4] { "london", "paris", "berlin", 
                                                            "manchester" };            
  
     Destination dest = new Destination();            
     dest.arrivalName = arrivalAirport[2];      
  
     return View(dest);
   }
  
  Model:
  public class Destination    
  {        
      public string arrivalName { get; set; }    
      public string arrivalCode { get; set; }
  }
  
  View:
  @model Flight.Models.Destination
  
  @{
    ViewBag.Title = "Destinations";
    Layout = "~/Views/Shared/_Layout.cshtml";
  }
  &lt;table&gt;
      &lt;tr&gt;
          &lt;td&gt;@Html.Label("Arrival Name")&lt;/td&gt;
          &lt;td&gt;@Model.arrivalName&lt;/td&gt;            
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>