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
ozan sahal
NA
3
0
reachin the class' properties from a class define in the former
Jun 30 2009 6:42 PM
public class A { public A() { a=5; B theb=new B() } private int a; public int thea { get{return a;} set{a=value;} } public class B { public B(); public int b(int x) { //here i need to reach the property of class A } } how can i reach the value of thea property from the method defined inside the B which contained by A?
Reply
Answers (
1
)
Format Double
urgent c# problem