Using subproperties in a list of superclass c#
<p>My scenario is this: I have an abstract superclass, let's call this SuperClass and some subclasses of this superclass, SubClass1,2,3.. I have a list of SuperClass and in this last i added some subclasses. </p>

<p>I wish to find objects with certain properties which are SPECIFIC to a given subclass.</p>

<p>for example: </p>

<pre><code>public abstract class SuperClass{
public string name;
public int value}
public class SubClass1: SuperClass{
public double speed;}

list&lt;SuperClass&gt; list = new list&lt;SuperClass&gt;();
</code></pre>

<p>So from here i'd like to add subclasses (with different properties) and select these different properties dynamically (for example some client predicate if possible)</p>
