title: I'm getting error when using Microsoft.Office.Interop.Excel; namespace with controls new point syntax in C#
body: <p>i'm trying to change location of controls using</p>
  
  <pre><code>label1.Location = new Point(x,y);
  </code></pre>
  
  <p>but i also want to export data from data grid view to excel, for doing this i'm using</p>
  
  <pre><code>using Microsoft.Office.Interop.Excel;
  </code></pre>
  
  <p>but when i use this, namespace compiler shows error in</p>
  
  <pre><code>label1.Location = new Point(x,y);
  
  Error : 'Point' is an ambiguous reference between 'System.Drawing.Point' and 'Microsoft.Office.Interop.Excel.Point'
  </code></pre>
  
  <p>Code for exporting data to excel :</p>
  
  <pre><code>Microsoft.Office.Interop.Excel.Application Excel = new Microsoft.Office.Interop.Excel.Application();
  
      Workbook wb = Excel.Workbooks.Add(XlSheetType.xlWorksheet);
  
      Worksheet ws = (Worksheet)Excel.ActiveSheet;
  
      Excel.Visible = true;
  
      ws.Cells[1, 1] = "ID";
  
      ws.Cells[1, 2] = "Products Name";
  
      ws.Cells[1, 3] = "Products Id";
  
      ws.Cells[1, 4] = "Products Price";
  
      ws.Cells[1, 5] = "Selling Price";
  
      for (int j = 2; j &lt;= dataGridView1.Rows.Count; j++)
      {
          for (int i = 2; i &lt;= 5; i++)
          {
              ws.Cells[j, i] = dataGridView1.Rows[j - 2].Cells[i - 1].Value;
          }
      }
  </code></pre>
  
  <p>Code for new points :</p>
  
  <pre><code>linkLabel7.Show();
  
  linkLabel7.Location = new Point(293, 59);
  </code></pre>