Mar 2, 2010 #1 Badgers Programmer Joined Nov 20, 2001 Messages 187 Location 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
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
Mar 2, 2010 #2 jmeckley Programmer Joined Jul 15, 2002 Messages 5,269 Location US the best place to start is by searching. this will lead you here. Jason Meckley Programmer Specialty Bakers, Inc. faq855-7190 faq732-7259 Upvote 0 Downvote
the best place to start is by searching. this will lead you here. Jason Meckley Programmer Specialty Bakers, Inc. faq855-7190 faq732-7259