title: Get List<object> from sql
body: <pre><code>public List&lt;Menu&gt; Getmonan()
      {
          string cs = ConfigurationManager.ConnectionStrings["RestaurantConnection"].ConnectionString;
          List&lt;Menu&gt; menulist = new List&lt;Menu&gt;();
          Menu menu = new Menu();
          using (SqlConnection conn = new SqlConnection(cs))
          {
              SqlCommand cmd = new SqlCommand("Getmenu", conn);
              cmd.CommandType = CommandType.StoredProcedure;
              conn.Open();
              SqlDataReader reader = cmd.ExecuteReader();
              while(reader.Read())
              {
                  menu.Tenmon = reader["TenMon"].ToString();
                  menu.Loaimon = reader["LoaiMon"].ToString();
                  menulist.Add(menu);
              }
  
          }
  
          return menulist;
      }
  </code></pre>
  
  <p>My procedure and sql result:</p>
  
  <p><img src="https://i.stack.imgur.com/6QAwx.png" alt="My procedure and sql result"> </p>
  
  <p>My WCF test client result:
  <img src="https://i.stack.imgur.com/Olohn.png" alt="My WCF test client result">
  What wrong with my code? Why do I get same dish in menulist?</p>