Re: inheritance not working properly -- Help please!!
- From: luvdotnet@xxxxxxxxxxx
- Date: 4 Aug 2006 08:53:31 -0700
Can you post a more complete simple code to better understand your
problem?
ThunderMusic wrote:
hi,
I have two classes in C#, one is the base, the other inherits from the base
class... both are generics... Here is the definition of the second class :
public class CNetworkServer<PlayerInfos> : CNetworkClient<PlayerInfos> where
PlayerInfos : CPlayerInfos, new()
{
}
Here is the problem... when I type "public override", the intellisense
should pop with my base class methods... instead it pops with 3 methods :
Equals, GetHashCode and ToString...
Is there a problem in my definition? here's on of my base class method that
should be overrided : public void Connect()... Must I add anything to the
method so I can override it in my inherited class?
I tried to rebuild the project, but no change, still the same...
Can anyone help please?
Thanks
ThunderMusic
.
- Follow-Ups:
- Re: inheritance not working properly -- Help please!!
- From: ThunderMusic
- Re: inheritance not working properly -- Help please!!
- References:
- inheritance not working properly -- Help please!!
- From: ThunderMusic
- inheritance not working properly -- Help please!!
- Prev by Date: Re: my program crashes randomly (it seems)
- Next by Date: Re: string.IsNullOrEmpty() - is it always enough?
- Previous by thread: inheritance not working properly -- Help please!!
- Next by thread: Re: inheritance not working properly -- Help please!!
- Index(es):
Relevant Pages
|
Loading