Alan72104
Alan72104
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
ty all
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
I will probably make it an extension too since I will keep using it for a while
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
yep gotten
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
ok ty I will just stay with this
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
nope, I googled for a while
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
yes right
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
plus there are 2 leaderboards, that's why I'm doing the distinct and ordering by appearance
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
(the 1st player means the 1st place in the current leaderboard)
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
if the 1st player is being ordered to the last place just because their name starts with "a" and I have 1000 players to update, each taking a 10 sec cooldown I would not be seeing the updated first page of the leaderboard in at least 10 * 1000 secs
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
I had trouble describing that to google so I came here
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
first try adding a1[0] then a2[0] then a1[1] then a2[1]
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
not ordering that by value but the order of appearance
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
well um this method is fine with the example arrays
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
result should be 1 2 3 4 5 6 7 8 9
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
I did some search but still can't find a good way of doing that
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
false to my requirements
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
Union() placed the 4 at the last index, which is false obviously bc there are still many different elements after the 4 in a2
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
like in this looping method, starting to add them from index 0
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
in the order of appearance
71 replies
CC#
Created by Alan72104 on 2/22/2023 in #help
❔ LINQ distinct from 2 lists preserving order as soon as they are seen
um not the order of values btw
71 replies