C# Frequently Asked Questions : Why can't I use the same variable as an inner loop does?. Language designers, please don't try to protect me from something like this. It's annoying.
But for fun, check out the possibly contradictory compile errors in code like:
public static void Main(string[] args){ for(int y=0; y<100; y++){} Console.Write(y); int y = 0; }
y doesn't exist but yet can't be created.
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):
RSS feed Atom feed Weblog archive Recent comments on 3 posts
new⇒Spider solitaire
I to am somewhat addicted tospending too much time on SS. Ihave been stu...
stupid_horse: Mar 20, 10:34pm
I hate ASP.NET
I hate ASP... I was doing wonderswith PHP, then suddenly one of myclients...
Johnies: Mar 17, 6:14am
Quantum physics and free will
I knew you were going to say that....
Tom Massey: Mar 15, 9:26pm
Generated in about 0.104s.
(Used 8 db queries)
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):