View Single Post
  #2 (permalink)  
Old November 24th, 2009, 05:19 AM
irProject irProject is offline
Friend of Wrox
Points: 742, Level: 10
Points: 742, Level: 10 Points: 742, Level: 10 Points: 742, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2009
Location: Tehran, Iran
Posts: 156
Thanks: 13
Thanked 16 Times in 16 Posts
Default check scope words

Hello
I have not encountered this problem because I have followed book's class definitions step by step.
check that your classes are defined as 'public' in your program. if you don't put 'public' keyword in the begining of class definition, then class will be defined as 'private'. if your problem does not solved replace 'internal' keyword with 'public' in the definition of DuplicateCheck class to test that is it accessible after this change.