c# getting ALL the properties of an object
<p>i have object like this:</p>

<pre><code>some_object
</code></pre>

<p>this object has like 1000 properties.</p>

<p>i would like to loop through every property like this:</p>

<pre><code>foreach (property in some_object)
//output the property
</code></pre>

<p>is there an easy way to do this?</p>
