title: 'System.DateTime' does not contain a definition for 'Text'
body: <p>I'm trying to write a value to <strong>CurrentRent.Text</strong> and <strong>NextRent.Text</strong> (both labels on my form and keep getting the following error messages:</p>
  
  <pre><code>Error   1   'System.DateTime' does not contain a definition for 'Text' and no extension method 'Text' accepting a first argument of type 'System.DateTime' could be found (are you missing a using directive or an assembly reference?)
  
  Error   2   'System.DateTime' does not contain a definition for 'Text' and no extension method 'Text' accepting a first argument of type 'System.DateTime' could be found (are you missing a using directive or an assembly reference?)
  </code></pre>
  
  <p>How can I resolve it? This is my code so far:</p>
  
  <pre><code>    public Form1()
      {
          InitializeComponent();
          CurrentDate.Text = "Today's Date: " + DateTime.Now;
  
          DateTime CurrentRent;
          DateTime NextRent;
          DateTime today = DateTime.Now;
  
          if (today.DayOfWeek == DayOfWeek.Wednesday)
          {
              CurrentRent.Text = "Current Rent Date: " + today.AddDays(-7);
              NextRent.Text = "Next Rent Date: "+ today.AddDays(7);
          }
  
      }
  </code></pre>