Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
How to call a private method from another class?
Abolfazl
Jul 19 2016 11:55 AM
494
Reply
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
}
}
how to call Method?
thanks
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
login from using winform application
helpProvider control in c# window application.