title: C# Cannot convert type to string
body: <p>Here is my code:</p>
  
  <pre><code>public static string HDDData()
  {
      string Timestampy = null, TotalSpace = null, SpaceLeft = null, 
      PercentageLeft = null;
      TotalSpace = GetTotalFreeSpaceGB();
      SpaceLeft = GetTotalSpaceGB();
      PercentageLeft = GetTotalFreeSpacePercentage();
      Timestampy = Timestamp();
      var HDD = new HDDFormat
      {
          TotalSpace = TotalSpace,
          SpaceLeft = SpaceLeft,
          PercentageLeft = PercentageLeft,
          Timestamp = Timestampy
      };
      return HDD;
  }
  </code></pre>
  
  <p>This is the HDDFormat:</p>
  
  <pre><code>public class HDDFormat
  {
      public string TotalSpace { get; set; }
      public string SpaceLeft { get; set; }
      public string PercentageLeft { get; set; }
      public string Timestamp { get; set; }
  }
  </code></pre>
  
  <p>The data you get are correct strings. (<code>.ToString()</code> doesn't work either)</p>