C#: Bypass non-serializable properties when going about serialization
<p>I follow the code snippet to calculate Session size.</p>

<p><a href="http://stackoverflow.com/questions/1668989/profile-memory-usage-of-session-state-asp-net">Profile Memory Usage of Session State ASP.Net</a></p>

<p>My problem is some properties of objects <strong>aren't marked as Serializable</strong> so I cannot apply the solution. </p>

<p>Can I just <strong>bypass</strong> non-serializable properties? </p>

<p>Thanks</p>
