newbie inheritance question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all

I am making my first steps in VB .NET and I have some doubts with inheritance. How does inheritance work whe
inheriting a base class in a different assembly? Is inheritance solved at compile time or at runtime? It seems to me tha
inheriting in the same assembly is more performant (efficient) than inherting in other assembly, is that correct

TIA

MikeAR
 
I would assume that it is handled at runtime since the compiler is really
just converting the syntax to the runtime language for the CLR and I can't
imagine that it will compile in code from a different assembly.

MikeAR said:
Hi all,

I am making my first steps in VB .NET and I have some doubts with
inheritance. How does inheritance work when
inheriting a base class in a different assembly? Is inheritance solved at
compile time or at runtime? It seems to me that
inheriting in the same assembly is more performant (efficient) than
inherting in other assembly, is that correct?
 
So, if it is handled at runtime, (wich was what I thought)... It should be some preformance to pay if you inherit from
class in a different assembly... I mean, in the same assembly should be less work for CLR, because it shouldn't have t
look for definitions in other assembly... does this make sense?

MikeAR
 
Back
Top