Re: Reflection
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Mon, 19 Sep 2005 22:18:28 +0100
jim <jim@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Here is the short sample code:
> 1) Create a new solution with a console and class library projects
> 2) Paste the code below into a class file in the console project.
> 3) Coply the Worker WorkerBase, and WorkDoneHandler into the class library
> project.
And that's the problem - as specified in the article, you then have two
copies of the classes, one in the class library assembly and one in the
console application assembly. Those are entirely different classes as
far as the CLR is concerned.
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.
- Follow-Ups:
- Re: Reflection
- From: jim
- Re: Reflection
- References:
- Re: Reflection
- From: Jon Skeet [C# MVP]
- Re: Reflection
- From: jim
- Re: Reflection
- From: Jon Skeet [C# MVP]
- Re: Reflection
- From: Jon Skeet [C# MVP]
- Re: Reflection
- From: jim
- Re: Reflection
- Prev by Date: Re: Reflection
- Next by Date: Re: Reflection
- Previous by thread: Re: Reflection
- Next by thread: Re: Reflection
- Index(es):
Relevant Pages
|