Return dynamic object
<p>I have a simple data layer routine that performs a password update, the user passes in the following:</p>

<ul>
<li>Current Password, New Password, Confirm New Password.</li>
</ul>

<p>In my data layer (proc) checks a couple things such as:</p>

<ol>
<li>Is the current password correct?</li>
<li>Is the new password and confirm password correct?</li>
<li>Has the new password been assigned in the past?</li>
</ol>

<p>And so on... </p>

<p>Now I know I can simply create a class and returned a couple booleans:</p>

<pre><code>public class UpdatePasswordResponse{

public bool CurrentPasswordCorrect {get;set;}
....(and so on)

}
</code></pre>

<p>But is there a way I can dynamically return that information to the biz layer in properties  instead of creating a new class everytime (for every data layer routine)? I seem to remember thinking this was possible. I am pretty sure I read it somewhere but don't remember the syntax, can someone help me?</p>
