title: C# - Store and then update a property
body: <p>Evening all,</p>
  
  <p>I've written a transfer application that needs to perform an update, then update a date corresponding to that update. I.e.</p>
  
  <pre><code>string content = string.Empty;
  IIvdManager manager;
  DateTime configDate;
  
  if (table == Tables.Asset)
  {
      content = WebService.GetTblAsset(companyId);
      manager = ivdData.Instance.Asset;
      configDate = ivdConfig.LAST_UPDATE_ASSET;
  }
  else if (table == Tables.Site)
  {
      content = WebService.GetTblSite(companyId);
      manager = ivdData.Instance.Site;
      configDate = ivdConfig.LAST_UPDATE_SITE;
  }
  else if (table...)
  {
      ...
  }
  
  if (content.Length &gt; 0)
  {
      if (UpdateManager(manager, content))
      {
          configDate = DateTime.Now;
      }
  
  }
  </code></pre>
  
  <p>What I want is for the configDate property to update the corresponding Date Get/Set in my ivdConfig Static Class.</p>
  
  <p>How can I do this?</p>