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
hellopeat
NA
10
0
Access public class member from other class
Mar 14 2005 9:36 AM
Suppose, i have 2 classes public class A { public string s1; } public class B { } Is there anyway to use string 's1' from class A in class B ? My conditions are: - " string s1 " is non-static variable. ( just public ) - In class B, i will not use " A a = new A(); a.s1 = "hello"; " to access string s1. (not new it).
Reply
Answers (
5
)
Remoting / Distributed Application
Hide TabControl Page