c# multi inheritance
- by user326839
So ive got a base class which requires a Socket:
class Sock
{
public Socket s;
public Sock(Socket s)
{
this.s = s;
}
public virtual void Process(byte[] data) { }
...
}
then ive got another class. if a new socket gets accepted a new instance of this class will be created:
class Game : Sock
{
public…