title: how to open a table view from clicking on a table view cell in Xamarin4
body: <p><a href="https://i.stack.imgur.com/tyxei.png" rel="nofollow noreferrer">SCREEN SHOT</a>I am new to both Xamarin and C#, </p>
  
  <p>I'm wondering how do I open a new table view controller from pressing on a table view cell in Xamarin? Right now my app opens my table view and it's programmed so when a cell from that table view is pressed a pop up opens saying "Row Selected... etc."</p>
  
  <p>Thank You</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  
  using Foundation;
  using UIKit;
  
  namespace App2
  
  {
      public class TableSource : UITableViewSource
      {
          string[] TableItems;
          string CellIdentifier = "TableCell";
  
          public TableSource(string[] items)
          {
              TableItems = items;
          }
  
          public override nint RowsInSection(UITableView tableview, nint section)
          {
              return TableItems.Length;
          }
  
          public static string SelectedRow;
  
          public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
          {
  #pragma warning disable CS0618 // Type or member is obsolete
              new UIAlertView("Row Selected", TableItems[indexPath.Row], null, "OK").Show();
  #pragma warning restore CS0618 // Type or member is obsolete
  
              SelectedRow = TableItems[indexPath.Row];
          }
  
  
          public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
          {
              UITableViewCell cell = tableView.DequeueReusableCell(CellIdentifier);
              string item = TableItems[indexPath.Row];
  
              //---- if there are no cells to reuse, create a new one
              if (cell == null)
              { cell = new UITableViewCell(UITableViewCellStyle.Default, CellIdentifier); }
  
              cell.TextLabel.Text = item;
  
              return cell;
          }
      }
  }
  </code></pre>