title: Creating a List<String> in Android Xamarin
body: <p>I'm building an android application where I need to create a simple list of String items, which i will then add a specific control for each item in the list.</p>
  
  <p>This is the list I want to create:</p>
  
  <pre><code>List&lt;String&gt; projects = new List&lt;String&gt;(); // How?
  </code></pre>
  
  <p>The code I was trying:</p>
  
  <pre><code>String projects = new string[] { "hey","yo","app","xamarin","c","xaml" };
  </code></pre>
  
  <p>I need to count the items, something like this:</p>
  
  <pre><code>int amount = projects.Count(); // Can I do this?
  </code></pre>
  
  <p>Then adding the controls for each item in the list</p>
  
  <pre><code>// Add the tiles, one by one
  for (int i = 0; i &lt; amount; i++)
  {
    // Inflate the tile
    var tile = LayoutInflater.Inflate (Resource.Layout.Tile, null);
  
    // Set its attributes
    tile.FindViewById&lt;TextView&gt; (Resource.Id.projectName).Text = currentProject;
  
    // Add the tile
    projectScrollView.AddView (tile);
  }
  </code></pre>
  
  <p>"currentProject" string is retrieved from SharedPreferences, just haven't got that far yet</p>