We help IT Professionals succeed at work.

ListContains not behaving as expected

Last Modified: 2013-12-24
When I run the code attached the following is printed out for channel 2:

2 In Old List: YES    
2 In New List: YES  

From the lists listed at the top of the code it is clear that '2 In New List:' should say no.

Can someone explain to me why this happens and provide a solution.
Watch Question

System Architect, CF programmer
This one is on us!
(Get your first solution completely free - no credit card required)


I am sorry... I meant

3 In Old List: YES    
3 In New List: YES  

I think its only fair that I assign the points and reenter the question.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.