Click here to Skip to main content
15,505,439 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 4:10
Wiep Corbier16-Jun-20 4:10 
GeneralRe: Multiple Classes, same name Pin
Dave Kreskowiak16-Jun-20 4:32
mveDave Kreskowiak16-Jun-20 4:32 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 4:54
Wiep Corbier16-Jun-20 4:54 
AnswerRe: Multiple Classes, same name Pin
ZurdoDev16-Jun-20 5:04
professionalZurdoDev16-Jun-20 5:04 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 5:21
Wiep Corbier16-Jun-20 5:21 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 10:32
Wiep Corbier16-Jun-20 10:32 
GeneralRe: Multiple Classes, same name Pin
OriginalGriff16-Jun-20 5:27
mveOriginalGriff16-Jun-20 5:27 
GeneralRe: Multiple Classes, same name Pin
kalberts16-Jun-20 5:28
kalberts16-Jun-20 5:28 
If my skill is "baking breads|cakes" it won't work as you expect it to.

If you frequently will search lists of 1000 skills, you should rather put them in a dictionary (i.e. hash table). That would work even with "baking breads|cakes".

Another side is that if you measure the time to search a 1000 element list, you'd probably be surprised by how fast it is. If the search is initated due to a user interaction, all the other stuff involved will require magnitudes more resources. Worry about the time for searching an in-memory list only if it is done thousands or tens of thousands times for each user interaction.
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 5:32
Wiep Corbier16-Jun-20 5:32 
GeneralRe: Multiple Classes, same name Pin
kalberts16-Jun-20 6:52
kalberts16-Jun-20 6:52 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 7:04
Wiep Corbier16-Jun-20 7:04 
GeneralRe: Multiple Classes, same name Pin
OriginalGriff16-Jun-20 5:28
mveOriginalGriff16-Jun-20 5:28 
GeneralRe: Multiple Classes, same name Pin
Pete O'Hanlon16-Jun-20 4:32
mvaPete O'Hanlon16-Jun-20 4:32 
GeneralRe: Multiple Classes, same name Pin
kalberts16-Jun-20 5:19
kalberts16-Jun-20 5:19 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 5:46
Wiep Corbier16-Jun-20 5:46 
GeneralRe: Multiple Classes, same name Pin
kalberts16-Jun-20 6:13
kalberts16-Jun-20 6:13 
SuggestionRe: Multiple Classes, same name Pin
Ralf Meier17-Jun-20 3:42
mveRalf Meier17-Jun-20 3:42 
GeneralRe: Multiple Classes, same name Pin
#realJSOP21-Jun-20 2:39
mva#realJSOP21-Jun-20 2:39 
AnswerRe: Multiple Classes, same name Pin
ZurdoDev16-Jun-20 3:20
professionalZurdoDev16-Jun-20 3:20 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 3:26
Wiep Corbier16-Jun-20 3:26 
GeneralRe: Multiple Classes, same name Pin
ZurdoDev16-Jun-20 3:27
professionalZurdoDev16-Jun-20 3:27 
AnswerRe: Multiple Classes, same name Pin
ZurdoDev16-Jun-20 5:05
professionalZurdoDev16-Jun-20 5:05 
AnswerRe: Multiple Classes, same name Pin
Gerry Schmitz16-Jun-20 8:06
mveGerry Schmitz16-Jun-20 8:06 
AnswerRe: Multiple Classes, same name Pin
Patrice T16-Jun-20 9:06
mvePatrice T16-Jun-20 9:06 
AnswerRe: Multiple Classes, same name Pin
Mycroft Holmes16-Jun-20 13:46
professionalMycroft Holmes16-Jun-20 13:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.