title: How can I create a Graphic Geometry back form list of MapPoints
body: <p>I retrieved a list of Points from a Polygon the following way;</p>
  
  <pre><code>    public Graphic Graphic { get; set; }
      public List&lt;MapPoint&gt; MapPoint { get; set; }
      MapPoint = new List&lt;MapPoint&gt;();
      ESRI.ArcGIS.Client.Geometry.PointCollection points = null;
      if (Graphic.Geometry is Polygon)
      {
          points = ((Polygon)Graphic.Geometry).Rings[0];
          foreach (MapPoint mapPoint in points)
          {
              //Save the points  
              MapPoint.Add(mapPoint);
          }
      }
  </code></pre>
  
  <p>Now my use case requires appending this Geometry back to the Graphic after a serialization/deserialization of the attribute of List(). Since rings are part of a Polygon and Polygon has a constructor that accepts a list of Map Points I would guess the following code works, but it doesn't compile.</p>
  
  <p><strong>Polygon class</strong> : <a href="https://developers.arcgis.com/net/10-2/desktop/api-reference/html/M_Esri_ArcGISRuntime_Geometry_Polygon__ctor_4.htm" rel="nofollow noreferrer">https://developers.arcgis.com/net/10-2/desktop/api-reference/html/M_Esri_ArcGISRuntime_Geometry_Polygon__ctor_4.htm</a></p>
  
  <p>How can I get the rings back into the Graphic attribute?</p>
  
  <pre><code>            List&lt;MapPoint&gt; mapPoint = null;
              Polygon myPolygon = null;
              foreach(Atribution at in sc. Atribution)
              {
                  foreach(AtributionContour atContour in at.Contours)
                  {
                      myPolygon = new Polygon(new List&lt;MapPoint&gt;( AtributionContour.MapPoint.ToList()));
  
                      //Append polygon to a Geometry
  
  
                      //Append geometry to graphic
                  }
  
              }
  </code></pre>
  
  <p><strong>Error</strong></p>
  
  <p><em>Error  CS1729  'Polygon' does not contain a constructor that takes 1 arguments</em>    </p>