D
D
dotalogobl2020-05-20 20:08:57
C++ / C#
dotalogobl, 2020-05-20 20:08:57

How to implement the Remove: bool method?

Hello! It doesn’t work for me, when inheriting from ICollections , I need to implement the bool Remove (T item) method, so the collection is created, but how to remove, for example, 3 items from the collection, I can’t get the maximum, remove the last item, help !!! hellp...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2020-05-21
@firedragon

Here's an example for you.
https://docs.microsoft.com/ru-ru/dotnet/api/system...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question