protected override void Finalize()
{
try
{
this.FtcpSock.Close();
this.FudpSock6800.Close();
this.FudpSock6801.Close();
this.FudpSock6802.Close();
this.FudpSock6803.Close();
this.FudpSock6804.Close();
this.FudpSock6806.Close();
}
finally
{
this.Finalize();
}
}
I m getting this Error Message:
Error 1 Do not override object.Finalize. Instead, provide a destructor.
by the way, this is Original Code complied by third party company.
how to solve this problem? how to Finalize with override?