BindingFlagsNonPublic
BindingFlagsNonPublic is a value within the System.Reflection namespace in the .NET framework. It is a member of the BindingFlags enumeration, which is used to specify how members are searched for and invoked. When the BindingFlagsNonPublic flag is used in conjunction with other BindingFlags, it instructs the reflection process to include non-public members (such as private, internal, or protected members) in the search.
Typically, when you use reflection to search for members of a type, the default behavior is to
By adding BindingFlagsNonPublic to your binding flags, you broaden the scope of the search to encompass members