0
Answer

Two basic questions about reflection

George George

George George

16y
1.7k
1

Hello everyone,


I am new to Reflection. Two basic questions about Reflection after some tests.

1.

About BindingFlags.Instance, I think it should refer to all entities which are not static but instance level, but I have made some tests and found it is not correct.

What does BindingFlags.Instance mean?

2.

What is the differences between FieldInfo and FieldType classes? In what situation should we use FieldInfo and in what situation should we use FieldType?


thanks in advance,
George