Re: Problem using '=' with System.Type



"Göran Andersson" <guffa@xxxxxxxxx> wrote in message news:OMZtZOmyKHA.3884@xxxxxxxxxxxxxxxxxxxxxxx
<snip>
The Is operator works for some purposes, but it doesn't do an equality comparison. For example, (String Is Object) = True, while (Object Is String) = False.

Could you be thinking of the C# Is operator?

--
Göran Andersson

--
Regards,
Mark Hurd, B.Sc.(Ma.) (Hons.)

.



Relevant Pages

  • Re: substring finding problem!
    ... banono going right to left without overlap ... <snip naming dropping rant> ... the string. ... something at which C programmers suck because C sucks at it. ...
    (comp.lang.c)
  • Re: Efficency and the standard library
    ... could represent this as a negative string length. ... Heathfield labors mightily to stay inside the Game: ... And so the Combatants turn once more to their game of reading C. ...
    (comp.lang.c)
  • Re: The Philosophy of Programming?
    ... less trivial to ensure that the string length has not been altered. ... > lowers psychological complexity for most intelligent readers. ... For most intelligent programmers, the laziness principal applies. ...
    (comp.programming)
  • Re: A C++ Whishlist
    ... > people from inclusion in a standard. ... > creating their own string class. ... >>don't want an ever increasing size of exception specification on each ...
    (comp.lang.cpp)
  • Re: Hash functions (was: Maximum String size in Java?)
    ... snip ... ... Inserted with sx31hsh and ssfh_ph in 0.385 secs ... your string library has problems with them speaks for itself. ... published your SFH code with the shifted and undersized ints. ...
    (comp.programming)