Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Really easy question

Status
Not open for further replies.

Badgers

Programmer
Nov 20, 2001
187
US
Hi,

int index = 0;
if (rangeItems.Count > 1)
{
index = rangeItems.BinarySearch(new RangeItem(dayID, 0, 20760606));
if (index < 0)
{
index = ~index;
}
}

What does index = ~index; mean, the "~" bit.

Thanks

 
the best place to start is by searching. this will lead you here.

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top