hi
I have a public class with a private method inside this class, I want to call this private method from another class. I know I can use reflection or delegate but I should do it without using reflection or delegate.
- public class MyClass
- {
- private void Method()
- {
- //method codes
- }
- }
thanks


Bhavik PatelRank #991 · 2K reputationPosted Jul 19, 2016, 7:01 PM EDT
Vignesh ManiRank #98 · 22.1K reputationPosted Jul 19, 2016, 12:12 PM EDT
Krishna Rajput SinghRank #605 · 4K reputationPosted Jul 19, 2016, 4:40 PM EDT
Ehsan SajjadRank #512 · 4.8K reputationPosted Jul 19, 2016, 5:04 PM EDT