Готовая 8 лаба

This commit is contained in:
platoff aeeee 2023-12-25 11:04:35 +04:00
parent 409f14e146
commit bd6b78605d

View File

@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tank.DrawingObjects;
using Tank.Generics;
namespace Tank
{
internal class ObjectComparable : IComparer<TanksGenericStorage?>
{
public int Compare(TanksGenericStorage? x, TanksGenericStorage? y) {
if (x == null)
{
return 1;
}
if (y == null)
{
return 1;
}
return 0;
}
}
}