title: Change the name of headers in CSV file using CSVHelper in C#
body: <p>I am using CSV Helper library to produce CSV files for the user to 
  to populate and upload into the system. My issue is that the WriteHeader method just writes the attributes of a class with names like "PropertyValue", which is not user friendly. Is there a method I can use to make the text produced user friendly but is still able to successfully map the class to the files data?</p>
  
  <p>My code looks like the following:</p>
  
  <pre><code>public ActionResult UploadPropertyCSV(HttpPostedFileBase file)
      {
          List&lt;PropertyModel&gt; properties = new List&lt;PropertyModel&gt;();
          RIMEDb dbContext = new RIMEDb();
          bool success = false;
          foreach (string requestFiles in Request.Files)
          {
              if (file != null &amp;&amp; file.ContentLength &gt; 0 &amp;&amp; file.FileName.EndsWith(".csv")) 
              {
                  using(StreamReader str = new StreamReader(file.InputStream))
                  {
                      using(CsvHelper.CsvReader theReader = new CsvHelper.CsvReader(str))
                      {
                          while (theReader.Read())
                          {
                              RIMUtil.PropertyUploadCSVRowHelper row = new RIMUtil.PropertyUploadCSVRowHelper()
                              {
                                  UnitNumber = theReader.GetField(0),
                                  StreetNumber = theReader.GetField(1),
                                  StreetName = theReader.GetField(2),
                                  AlternateAddress = theReader.GetField(3),
                                  City = theReader.GetField(4)
                              };
  
                              Property property = new Property();
                              property.UnitNumber = row.UnitNumber;
                              property.StreetNumber = row.StreetNumber;
                              property.StreetName = row.StreetName;
                              property.AlternateAddress = row.AlternateAddress;
                              property.City = dbContext.PostalCodes.Where(p =&gt; p.PostalCode1 == row.PostalCode).FirstOrDefault().City;
  
                              dbContext.Properties.Add(property);
                              try
                              {
                                  dbContext.SaveChanges();
                                  success = true;
                              }
                              catch(System.Data.Entity.Validation.DbEntityValidationException ex)
                              {
                                  success = false;
                                  RIMUtil.LogError("Ptoblem validating fields in database. Please check your CSV file for errors.");
                              }
                              catch(Exception e)
                              {
                                  RIMUtil.LogError("Error saving property to database. Please check your CSV file for errors.");
                              }
                          }
                      }
                  }
              }
          }
          return Json(success);
      }
  </code></pre>
  
  <p>I'm wondering if theres some metadata tag or something I can put on top of each attribute in my PropertyUploadCSVRowHelper class to put the text I want produced in the file</p>
  
  <p>Thanks in advance</p>