Sign In
Sean Ferguson
Software Design EngineerExchange Hosted Services Archive
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
SQL Index Size Blog
SQL Server
Archive
Archives
February 2009
(1)
October 2008
(1)
September 2008
(1)
August 2008
(1)
July 2008
(1)
June 2008
(1)
May 2008
(1)
April 2008
(1)
March 2008
(1)
September 2007
(1)
August, 2008
MSDN Blogs
>
Sean Ferguson
>
August, 2008
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Sean Ferguson
Variable scope in C#
Posted
over 4 years ago
by
sferg
7
Comments
See anything wrong with the code below? I didn't until Visual Studio gave me a nice squiggly red line indicating something was wrong. IList aList = new List (); foreach (A a in aList) { // Do something } A a = new A(); This is the error:...
Page 1 of 1 (1 items)