-2
I want a list of a certain type to become a list of a single type : examples
List<usuarios> se transformar em uma List<T>
BS : I don’t know if that’s possible
Or an Apple List becomes a Lista<T>
the reason is that I have a method that only accepts listas<T>
I wanted him to accept anything...
Gabriel, welcome to Stackoverflow. I recommend reading on tour to understand a little more how things work around here.
– Marconi
Could it be [Dit] and post an example of a piece of code that has tried to apply this idea? (that part of the method that commented, and the code that should call this method). It would be good if you explained what you wanted to happen, and what actually happened. Ideally, a [mcve].
– Bacco