Posts by Luís Miguel • 35 points
2 posts
-
2
votes2
answers356
viewsQ: Merge two items of an Ilist into one item by Id
In my class has: Id Venda Devolucao I have a IList of that class, and in that IList has [0] classe Id = 100, Venda = 230.00, Devolucao = 0; [1] classe Id = 100, Venda = 0, Devolucao = 50.00; [2]…
-
1
votes2
answers634
viewsQ: Start multiple threads in a repeat command
I have a project where I need to start 30 times a thread which will run the same method, and wanted to do this in a repeat command, for example: for (int i = 0; i < 30; i++) { Thread t = new…