Re: Consuming your own events.
John Brett <[email protected]> Wed, 30 Jan 2008 12:16:45 +0000
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <[email protected]> |
> The following console app prints "in B ctor". A ctor is not called
> when creating B.
That's only because you didn't make B derive from A.
<snip>
> class B
***missing : A
> {
> public B()
> {
> Console.WriteLine("in B ctor");
> }
> }
> }
Otherwise, James' assertion about constructors is correct.
John
===================================
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com