Click here to Skip to main content
14,663,792 members
Home » Discussions » C#
   

C#

 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 3:10
MemberWiep Corbier16-Jun-20 3:10 
GeneralRe: Multiple Classes, same name Pin
Dave Kreskowiak16-Jun-20 3:32
mveDave Kreskowiak16-Jun-20 3:32 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 3:54
MemberWiep Corbier16-Jun-20 3:54 
AnswerRe: Multiple Classes, same name Pin
ZurdoDev16-Jun-20 4:04
mveZurdoDev16-Jun-20 4:04 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 4:21
MemberWiep Corbier16-Jun-20 4:21 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 9:32
MemberWiep Corbier16-Jun-20 9:32 
GeneralRe: Multiple Classes, same name Pin
OriginalGriff16-Jun-20 4:27
mveOriginalGriff16-Jun-20 4:27 
GeneralRe: Multiple Classes, same name Pin
Member 798912216-Jun-20 4:28
MemberMember 798912216-Jun-20 4: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 4:32
MemberWiep Corbier16-Jun-20 4:32 
GeneralRe: Multiple Classes, same name Pin
Member 798912216-Jun-20 5:52
MemberMember 798912216-Jun-20 5:52 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 6:04
MemberWiep Corbier16-Jun-20 6:04 
GeneralRe: Multiple Classes, same name Pin
OriginalGriff16-Jun-20 4:28
mveOriginalGriff16-Jun-20 4:28 
GeneralRe: Multiple Classes, same name Pin
Pete O'Hanlon16-Jun-20 3:32
subeditorPete O'Hanlon16-Jun-20 3:32 
GeneralRe: Multiple Classes, same name Pin
Member 798912216-Jun-20 4:19
MemberMember 798912216-Jun-20 4:19 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 4:46
MemberWiep Corbier16-Jun-20 4:46 
GeneralRe: Multiple Classes, same name Pin
Member 798912216-Jun-20 5:13
MemberMember 798912216-Jun-20 5:13 
SuggestionRe: Multiple Classes, same name Pin
Ralf Meier17-Jun-20 2:42
professionalRalf Meier17-Jun-20 2:42 
GeneralRe: Multiple Classes, same name Pin
#realJSOP21-Jun-20 1:39
mva#realJSOP21-Jun-20 1:39 
AnswerRe: Multiple Classes, same name Pin
ZurdoDev16-Jun-20 2:20
mveZurdoDev16-Jun-20 2:20 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 2:26
MemberWiep Corbier16-Jun-20 2:26 
GeneralRe: Multiple Classes, same name Pin
ZurdoDev16-Jun-20 2:27
mveZurdoDev16-Jun-20 2:27 
AnswerRe: Multiple Classes, same name Pin
ZurdoDev16-Jun-20 4:05
mveZurdoDev16-Jun-20 4:05 
AnswerRe: Multiple Classes, same name Pin
Gerry Schmitz16-Jun-20 7:06
mveGerry Schmitz16-Jun-20 7:06 
AnswerRe: Multiple Classes, same name Pin
Patrice T16-Jun-20 8:06
mvePatrice T16-Jun-20 8:06 
AnswerRe: Multiple Classes, same name Pin
Mycroft Holmes16-Jun-20 12:46
professionalMycroft Holmes16-Jun-20 12: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.