T
ThunderMusic
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
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
