I'm creating a form whose fields need to get sent via email. It's an internal project so timeline is tight and the email doesn't need to be pretty.
Is there a quick and dirty way to serialize/format a class into a readable string similar to this:
Field1Name:
This is the value of field1
Field2Name:
value of field 2
I could write up some reflection to do it without much issue, but I'm curious if there is something already built in to .NET that might do it for me. Like I said, I'm looking for something quick.