Re: Instance with Inheritance



On Wed, 31 Jan 2007 08:02:45 -0000, "Paul Hadfield" <nonone@xxxxxxxxx> wrote:

Why not try it?

<mask.sd@xxxxxxxxx> wrote in message
news:1170229825.344078.219880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Can We create the instance of class with Inheritance like following :

Derivedclassname var = new Baseclassname



Paul,

Great answer!

I always wonder in these days of VS2k5 and the way one creates a project why
folks ask questions about things they could test in ten minutes instead of
waiting for some to answer their question. I mean no offense by saying this. I
just wonder why they don't make a test first.

It takes less than a minute to create a project. Maybe three to five minutes to
write the test code. Another minute to run the test. Another 30 seconds to
delete the project.

Good luck with your project,

Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com
.