C#, Net 2.0
Here\'s the code (I took out all my domain-specific stuff, and it still returns an empty array):
using System; using System.Collections.Gene
Since the field is private, you need to use the overload of GetFields() that allows you to specify BindingFlags.NonPublic.
To make this work, change it to:
FieldInfo[] fi = cc.GetType().GetFields(BindingFlags.NonPublic | BindingFlags.Instance);