[Mono-list] Object additional implicit operator.

Chris Morley g18c at hotmail.com
Fri Aug 15 00:46:43 EDT 2008


 > public static implicit operator bool( Object o ) {
 >  return (o!=null);
 > }

> I got really used to testing to objects as...

Erm is it not easier testing

if(thing==null)

Or if(typeof(thing))==x)

Or perhaps im ba


More information about the Mono-list mailing list