Re: Consuming your own events.

Sébastien Lorion <[email protected]> Wed, 30 Jan 2008 07:21:12 -0500
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <[email protected]>
The joy of mailing lists ... You get slapped on your fingers 20 times :p

Sébastien

On 1/30/08, John Brett <[email protected]> wrote:
> > 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(R)  http://www.develop.com
>
> View archives and manage your subscription(s) at http://discuss.develop.com
>


-- 
Sébastien
www.sebastienlorion.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com