Doombox
Where is the letter of the array saved?
imagine you are reading a page in a book, you have a scrap piece of paper and a pen, you scan the page letter by letter, each time you see a
d
you make a little mark on the bit of scrap paper, at the end you have a count of the occurrences of the letter d
but no record of where they are or on what context they were used, just that you saw them7 replies
Is it possible to add Markup support to this text editor I made in Winforms?
a cursory google seems to confirm that, all I could find was a nuget package with three versions released in the space of a couple days and the link to the repo for it is dead
5 replies
How can I fetch identical strings concatenated with 1 and so on at the end through this dictionary
or if you know 100% that the maximum number of any instance is say 10, you could just do a query for all 10 in a for loop, which may or may not be a bit more efficient too, ymmv
10 replies
How can I fetch identical strings concatenated with 1 and so on at the end through this dictionary
if you know 100% that
att2
would only exist if att1
also definitely existed you could use the first solution I posted which would be a bit more efficient10 replies
How can I fetch identical strings concatenated with 1 and so on at the end through this dictionary
it's a little inefficient because you're doing a string comparison on the entire dictionary, but it would get everything that starts with a given name
10 replies
How can I fetch identical strings concatenated with 1 and so on at the end through this dictionary
would work with the dictionary itself and prevent you just querying every key
this assumes that every index is in there with no gaps
or you could do this:
which would just broadly get them all regardless of that, whilst being a bit easier to read :catshrug:
10 replies