I can't find any errors in that code...ok, I can't find any code. But no errors ;)
Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Vitor Dantas de Andrade Sent: Thursday, February 09, 2006 9:56 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] .NET IS CRAZY ... Importance: High Hi everybody, i´ve been having some trouble with my code, and finally i got the problem ... take a look on the code below .... the tooltip is informing that COUNT = 3 how i expected, but the code enters the IF block like the count was 0. this was happening and i couldn't get the error, now i know why. And it gets worse, when i´m debugging step-by-step, the code works fine, but when i press F5 and let it run, it always goes wrong ... =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com