X hits on this document

956 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 views956
Page views956
Page last viewedThu Dec 08 12:23:32 UTC 2016
Pages396
Paragraphs9401
Words133190

Comments