TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Marc
NA
205
54.1k
How do I pull my object out of main to a procedure?
Sep 25 2014 1:29 PM
What I am trying to do is I have a method in main I am trying to make public so it can reach other methods within the same class.
Example
Static void Main()
{
Domain xml = new Domain();
//This is the method I am trying to pull to Process
XMLDomain xDo = xml
.//just an example
Process();
Terminate();
}
public static void Process()
{
// how do I pull the xDo value here?
}
Thanks for the help!
Reply
Answers (
2
)
Prism
How do I blur the entire screen in a Winforms program?