Click here to Skip to main content
15,909,325 members
Home / Discussions / C#
   

C#

 
GeneralRe: Best way to make Telephone Directory program Pin
shivamkalra21-Feb-11 15:28
shivamkalra21-Feb-11 15:28 
Thank you for the response but this not what I'm trying to ask. So far, I've made a class called telephone with three member variables of String type, those are names, address and telephone number. Then I made array of telephone class of size 10,000. Now this array has randomly distributed telephone entries but I need arrange sorted order according to each three variable, i.e. telephone, name and address so that I could perform binary search.
Let say user enter telephone number then my program will perform binary search on list sorted according to telephone numbers.
If user enter name then my program will perform search on the list which is started according to name and similarly it will do same procedure for address. So basically you need three list, but can you think of any other method of doing this?

Thank you
Shivam
AnswerRe: Best way to make Telephone Directory program Pin
Luc Pattyn21-Feb-11 15:33
sitebuilderLuc Pattyn21-Feb-11 15:33 
GeneralRe: Best way to make Telephone Directory program Pin
shivamkalra21-Feb-11 15:40
shivamkalra21-Feb-11 15:40 
GeneralRe: Best way to make Telephone Directory program Pin
Luc Pattyn21-Feb-11 15:50
sitebuilderLuc Pattyn21-Feb-11 15:50 
AnswerRe: Best way to make Telephone Directory program Pin
PIEBALDconsult21-Feb-11 15:38
mvePIEBALDconsult21-Feb-11 15:38 
GeneralRe: Best way to make Telephone Directory program Pin
shivamkalra21-Feb-11 15:47
shivamkalra21-Feb-11 15:47 
Questiondraw problem Pin
om_metab21-Feb-11 12:24
om_metab21-Feb-11 12:24 
AnswerRe: draw problem Pin
Richard MacCutchan21-Feb-11 12:45
mveRichard MacCutchan21-Feb-11 12:45 
AnswerRe: draw problem Pin
Luc Pattyn21-Feb-11 13:20
sitebuilderLuc Pattyn21-Feb-11 13:20 
Questionfind an item in list collection to add or update Pin
arkiboys21-Feb-11 4:40
arkiboys21-Feb-11 4:40 
AnswerRe: find an item in list collection to add or update Pin
_Erik_21-Feb-11 4:46
_Erik_21-Feb-11 4:46 
GeneralRe: find an item in list collection to add or update Pin
arkiboys21-Feb-11 4:52
arkiboys21-Feb-11 4:52 
GeneralRe: find an item in list collection to add or update Pin
_Erik_21-Feb-11 5:03
_Erik_21-Feb-11 5:03 
GeneralRe: find an item in list collection to add or update Pin
arkiboys21-Feb-11 5:07
arkiboys21-Feb-11 5:07 
GeneralRe: find an item in list collection to add or update Pin
_Erik_21-Feb-11 5:15
_Erik_21-Feb-11 5:15 
GeneralRe: find an item in list collection to add or update Pin
Luc Pattyn21-Feb-11 5:09
sitebuilderLuc Pattyn21-Feb-11 5:09 
GeneralRe: find an item in list collection to add or update Pin
_Erik_21-Feb-11 5:14
_Erik_21-Feb-11 5:14 
AnswerRe: find an item in list collection to add or update Pin
Luc Pattyn21-Feb-11 5:11
sitebuilderLuc Pattyn21-Feb-11 5:11 
AnswerRe: find an item in list collection to add or update Pin
#realJSOP21-Feb-11 6:03
professional#realJSOP21-Feb-11 6:03 
GeneralRe: find an item in list collection to add or update Pin
Orcun Iyigun21-Feb-11 13:37
Orcun Iyigun21-Feb-11 13:37 
GeneralRe: find an item in list collection to add or update Pin
Pete O'Hanlon22-Feb-11 1:36
mvePete O'Hanlon22-Feb-11 1:36 
GeneralRe: find an item in list collection to add or update Pin
#realJSOP22-Feb-11 3:31
professional#realJSOP22-Feb-11 3:31 
QuestionAT commands in c# Pin
aeman21-Feb-11 3:30
aeman21-Feb-11 3:30 
AnswerRe: AT commands in c# Pin
Thomas Krojer21-Feb-11 5:40
Thomas Krojer21-Feb-11 5:40 
QuestionSetting scanner device property constants (WIA) Pin
Etienne_12320-Feb-11 23:57
Etienne_12320-Feb-11 23:57 

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.