is there a better way to do this without reflection?
<p>I need to set all of the properties of a class using the same function.  Currently I am using reflection to get all of the properties and looping through to set their values.  I know all of the properties, there is nothing dynamic happening.</p>

<p>Here is my code I am currently running in my constructor:</p>

<pre><code>foreach (PropertyInfo property in this.GetType().GetProperties())
{
    // retreive the value and set it
    property.SetValue(this, GetValue(field), null);
}</code></pre>

<p>Is there way to do something similar without using reflection?</p>
