I have a class like this:
class ItemList
{
Int64 Count { get; set; }
}
and when I write this:
ItemList list = new ItemList ( );
Type type = list.GetType ( );
PropertyInfo [ ] props = type.GetProperties ( );
I get an empty array for props.
Why? Is it because GetProperties doesn't include automatic properties?