Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Variable defined within "for" loop can't be called outside
Ameer Wadi
Jan 15 2018 5:43 PM
166
Reply
Hi everyone;
I'm just a beginner with C#. When I define a variable inside for loop, it can't be recognized afterwards, as it has been NOT defined within the code. Following picture shows the problem. (Code should work properly but its NOT)
Thanks in advance,
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Multiple events on a day
how to show/hide the buttons for admin/users in c#