I really don't understand what is the difference between:
private void Send<T>(T packet) where T : IPacket
and
private void Send(IPacket packet)
since there is a general restriction, isnβt it the same? If not, what is the difference between the dots and what are the advantages of using a common with a restriction compared to a single character?
Thank!
source
share