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
Antonio
NA
1
0
Quick Question - Newbie
Sep 28 2005 2:05 PM
Ok assume the following: public Form1() { InitializeComponent(); string b = "Hello"; } public void button1_Click(object sender, System.EventArgs e) { label1.Text = b; } If they're both in the namespace how come I can't refer to b in the button click event handling code? I know I can declare the string b in that specific part locally but the whole idea is to figure out why my button handling code can't use anything outside of it. Help please. Thanks.
Reply
Answers (
1
)
Exchange Mailbox
Help Reg Composite UI Application Block(CAB) Plz Help Urgent...