Vaksman V.D. Lab work 3 #6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Lab3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lab3to Vaksman V.D. Lab work 3Зачтено с понижением балла(ов)
@ -0,0 +61,4 @@
if (form.ShowDialog() == DialogResult.OK)
{
DrawningObjectShip ship = new(form.SelectedShip);
if (form.SelectedShip == null || !(_mapShipsCollectionGeneric + ship))
Операция должна возвращать не bool тип
@ -0,0 +88,4 @@
return;
}
int pos = Convert.ToInt32(maskedTextBoxPosition.Text);
if (_mapShipsCollectionGeneric - pos)
Операция должна возвращать не bool тип
@ -0,0 +55,4 @@
/// <param name="map"></param>
/// <param name="ship"></param>
/// <returns></returns>
public static bool operator +(MapWithSetShipsGeneric<T, U> map, T ship)
Операция должна возвращать не bool тип
@ -0,0 +65,4 @@
/// <param name="map"></param>
/// <param name="position"></param>
/// <returns></returns>
public static bool operator -(MapWithSetShipsGeneric<T, U> map, int position)
Операция должна возвращать не bool тип
@ -0,0 +44,4 @@
/// <param name="ship">Добавляемый корабль</param>
/// <param name="position">Позиция</param>
/// <returns></returns>
public bool Insert(T ship, int position)
Операция должна возвращать не bool тип
@ -0,0 +69,4 @@
/// </summary>
/// <param name="position"></param>
/// <returns></returns>
public bool Remove(int position)
Операция должна возвращать не bool тип