<t>Réflexion ; pour une instance :<br/>
<br/>
obj.GetType().GetProperties();<br/>
<br/>
```<br/>
<br/>
pour un type :<br/>
<br/>
```<br/>
typeof(Foo).GetProperties();<br/>
<br/>
```<br/>
<br/>
par exemple :<br/>
<br/>
```<br/>
class Foo {<br/>
public int A {get;set;}<br/>
public string B {get;set;}<br/>
}<br/>
...<br/>
Foo foo = new Foo {A = 1, B = "abc"};<br/>
foreach(var prop in foo.GetType().GetProperties()) {<br/>
Console.WriteLine("{0}={1}", prop.Name, prop.GetValue(foo, null));<br/>
}<br/>
<br/>
```<br/>
<br/>
Suite aux retours...<br/>
<br/>
- Pour obtenir la valeur des pr statiques