Did you want the class Continued to inherit from the class Practice, or did you just want Continued to create a new object of type Practice?

I'm confused. :confused:

Heck, if you even wanted to do either of those, you declared the variables inside of your Method. In order to use them in another class, or as the property of a newly instantiated Practice object, you'd want to put them in the root of the Class, as public variables. Either that, or make them private, and provide accessors for the fields using public Properties.

If you rewrite it to do that, maybe we could help more.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of
1.18 million developers, IT pros, digital marketers,
and technology enthusiasts learning and sharing knowledge.