Re: Instance with Inheritance
- From: "Jon Skeet [C# MVP]" <skeet@xxxxxxxxx>
- Date: 31 Jan 2007 00:25:44 -0800
On Jan 31, 7:50 am, mask...@xxxxxxxxx wrote:
Can We create the instance of class with Inheritance like following :
Derivedclassname var = new Baseclassname
If you mean something like:
string x = new object();
then no, you can't - because the created object is *not* a string.
Jon
.
- References:
- Instance with Inheritance
- From: mask . sd
- Instance with Inheritance
- Prev by Date: try catch with return value
- Next by Date: RE: try catch with return value
- Previous by thread: Re: Instance with Inheritance
- Next by thread: Re: List of KNOWN VS2005/Vista issues.......
- Index(es):