Için basit anahtar C# Switch Case örtüsünü

Edit: Added since you've now stated they will be of different lengths. You could do the pattern more info I mentioned of checking the first X chars and then the next Y chars and so on, but unless there's a pattern where most of the strings are the same length this will be both inefficient and horrible to maintain (a classic case of premature pessim

read more