X hits on this document

1462 views

0 shares

0 downloads

0 comments

282 / 396

Chapter ‎18   Unsafe code

// Definitely false operator. Returns true if the operand is False, false // otherwise.

public static bool operator false(DBBool x) { return x.value < 0; }

public override bool Equals(object obj) { if (!(obj is DBBool)) return false; return value == ((DBBool)obj).value; }

public override int GetHashCode() { return value; }

public override string ToString() { if (value > 0) return "DBBool.True"; if (value < 0) return "DBBool.False"; return "DBBool.Null"; } }

Copyright Microsoft Corporation 1999-2003. All Rights Reserved.269

Document info
Document views1462
Page views1462
Page last viewedTue Jan 24 09:44:38 UTC 2017
Pages396
Paragraphs9401
Words133190

Comments