There is no "==" operator in VB

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Gregory Miley
Sent: Monday, February 13, 2006 8:01 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] .NET IS CRAZY ...

If you are writing in C# then I would make sure you are comparing not
setting:

        if( lista.Count == 0) { /* ... */ }

Instead of:
        
        if( lista.Count = 0) { /* ... */ }


Since we still do not have any real code to go by, I can only assume this
might be the problem.

Greg


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Vitor Dantas de
Andrade
Sent: Sunday, February 12, 2006 10:07
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: RES: [ADVANCED-DOTNET] .NET IS CRAZY ...

Hi everybody,

Sorry about the code ... I sent the picture but you didn´t get it ...

The code is very simple, its like :

If lista.Count = 0 then FillFunction()

The problem is, when i get to this line, the debugger shows lista.Count = 3,
but the code enters the FillFunction() Lista is a generics list

I found that the code is running right, but Visual Studio is showing the
wrong value on the watch list. It´s a bug, but on Vstudio rather then the
framework ...

Thanks, 

Vitor
 

-----Mensagem original-----
De: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Em nome de Frans Bouma Enviada
em: sexta-feira, 10 de fevereiro de 2006 06:32
Para: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Assunto: Re: [ADVANCED-DOTNET] .NET IS CRAZY ...

> Sorry, I was only joking, I do not suspect the framework is crazy.

        I know, Paul ;)

> My COM days are thankfully a distant memory!!!

        I don't understand this that much, but perhaps you had a horrific
experience with the wonderful world of COM and DCOM and I can fully
understand you therefore are happy with every millimeter you can get away
from it ;)

                FB, who has to admit 'Essential COM' was a bit complex

>
> [EMAIL PROTECTED]
>
>
>
>
> >From: Frans Bouma <[EMAIL PROTECTED]>
> >Reply-To: "Discussion of advanced .NET topics."
> ><ADVANCED-DOTNET@DISCUSS.DEVELOP.COM>
> >To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
> >Subject: Re: [ADVANCED-DOTNET] .NET IS CRAZY ...
> >Date: Fri, 10 Feb 2006 10:12:10 +0100
> >
> > > The whole framework is corrupt!!!!!
> > >
> > > I'm going back to ASP et. COM!!!!
> >
> >         COM and DCOM aren't that bad, the performance of DCOM still 
> >beats .NET's equivalents hands down and ATL is pretty cool too.
> >It's just that this cool tech is simply lacking easy to use
> tooling ala
> >delphi. I mean: delphi managed to offer C++ speed
> programming and also
> >COM/DCOM creating abilities without the 'don't touch this comments, 
> >bubba! we know they're just comments but they're precious material, 
> >alright?'-goo.
> >
> >                 FB
> >
> >===================================
> >This list is hosted by DevelopMentorR  http://www.develop.com
> >
> >View archives and manage your subscription(s) at 
> >http://discuss.develop.com
>
> ===================================
> This list is hosted by DevelopMentorR  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

===================================
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

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to