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
Stephen Walsh
NA
2
0
Accessing a string from class1 in class2
Sep 24 2008 4:34 PM
I have two seperate classes in a project with no inheritance. Is there any way to access a string which is declared in class 2.
For example.
In class 1 I have a string called HiddenWord.
In class 2 I have an int called AllowableMisses
I want to be able to declare an if statement in class 2 saying:
if (HiddenWord.Length > 5)
{
Allowable misses = 5
}
Is this possible?
Reply
Answers (
1
)
how to read a text to Text to array( Very Vital to me... Please let me know your Idra)
Resolution Independent........(in c#-2.0)