I have some problems with my project.
I want to call one method from private
Property like private clsBUS_DEMO prop_DEMO
clsBUS_DEMO
has a Method, which Name is public void SayHello()
.
This is my code
PropertyInfo p = this.GetType().GetProperty("SayHello");
p
is null
because program can't find prop_DEMO
Can anybody help me about this?