From the following example asked a question.
List<Report> lista = new List<Report>();
lista.add (new Report {. Name = "Report1"});
lista.add (new Report {. Name = "report2"});
lista.add (new Report {. Name = "report3"});
lista.add (new Report {. Name = "report4"});
how you can get the name of the report number 3?
thank you very much.
If by “report number 3” you mean the third report, you can do this:
If by “report number 3” you mean that there is an additional property on
Report(e.g.Id), then you can do this: