IsNothing(_myVar) vs. _myVar Is Nothing



This is really not very important but something that I'm just curious
about...which is faster to execute or are they the same:

(1) If IsNothing(_myVar) Then ...

or

(2) If _myVar Is Nothing Then ...

I find myself using #1 most frequently but for no real reason other than I
like the way it looks.

-- Dave


.



Relevant Pages

  • Re: How to enable the defragment(screenshot)?
    ... how to slove the problem? ... Execute; ... Dave ... Prev by Date: ...
    (microsoft.public.windowsxp.general)
  • Re: what is this?
    ... Execute; msconfig.exe ... Choose the StartUp tab. ... Dave ... Prev by Date: ...
    (alt.comp.anti-virus)
  • Re: Six balls?
    ... and I have a relatively solid pattern. ... > looking for reasonable moves that I could execute. ... Dave ... Prev by Date: ...
    (rec.juggling)
  • Re: what is my mhz
    ... Just execute DXDiag.exe ... Dave ... Prev by Date: ...
    (microsoft.public.windowsxp.general)
  • Re: IsNothing(_myVar) vs. _myVar Is Nothing
    ... I should add, that I would attempt to be consistent with the project, ... | I find myself using #1 most frequently but for no real reason other than I ... | -- Dave ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)