How to Loop through all the properties of a Class?
<p>Is there a way to loop through all the properties from within a class's constructor so I can set all their default values instead of having to list each one like</p>

<pre><code>this.prop1 = "?";
//repeat for each prop
</code></pre>

<p>For example:</p>

<pre><code>public class thisClass()
{
    library()
    {
        foreach (property as p in thisClass)
        {
           p.value = "?";
        }
    }

public string prop1 {get; set;}
public string prop2 {get; set;}
etc.
} 
</code></pre>
