Mar 2, 2010 #1 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
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 Jul 15, 2002 5,269 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