R
R
Ribachok2020-06-06 13:17:53
C++ / C#
Ribachok, 2020-06-06 13:17:53

How to make multiple identical class objects?

I have a class. I create for example TestClass test.
I need several such test, but I will not create test1, test2, test3.

I know that lists can be used for such purposes.
How to implement it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question