FieldInfo[] fields = type.GetFields();
works and returns all public fields, but when I do
FieldInfo[] fields = type.GetFields(BindingFlags.Public);
I get nothing!! Whats going on? (again, its that simple... if I delete
BindingFlags.Public I get all public fields but if I don't then I get
nothing)
Thanks,
Jon