Java to C# Conversion
<p>I have below Java code. I need to convert this code to C#.</p>

<pre><code>public void updateZeroPointLast(BigDecimal bdID) {
      if (!qdsErosionElSave.isOpen()) {
         qdsErosionElSave.open();
      }
      // Locate the row to update
      DataRow dr = new DataRow(qdsErosionElSave, "EL_ID");
      dr.setBigDecimal("EL_ID", bdID);
      if (qdsErosionElSave.locate(dr, Locate.FIRST)) {
         // Update qdsErosionElSave
         Timestamp tsZeroPoint = qdsErosionElSave.getTimestamp("ZEROPOINT");
         System.out.println(bdID + " " + tsZeroPoint.toString());
         qdsErosionElSave.editRow();
         qdsErosionElSave.setTimestamp("ZEROPOINTLAST", tsZeroPoint);
         qdsErosionElSave.post();
      }
   }
</code></pre>
