Click here to Skip to main content
15,919,423 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get list of all fields referenced from RDLC XML file Pin
AndrusM29-Aug-08 9:31
AndrusM29-Aug-08 9:31 
GeneralRe: Get list of all fields referenced from RDLC XML file Pin
Wendelius29-Aug-08 9:59
mentorWendelius29-Aug-08 9:59 
GeneralRe: Get list of all fields referenced from RDLC XML file Pin
AndrusM30-Aug-08 6:59
AndrusM30-Aug-08 6:59 
GeneralRe: Get list of all fields referenced from RDLC XML file Pin
Wendelius30-Aug-08 7:10
mentorWendelius30-Aug-08 7:10 
QuestionVenue booking code in vb.net Pin
masosha29-Aug-08 8:35
masosha29-Aug-08 8:35 
AnswerRe: Venue booking code in vb.net Pin
Pete O'Hanlon29-Aug-08 8:38
mvePete O'Hanlon29-Aug-08 8:38 
GeneralRe: Venue booking code in vb.net Pin
Ashfield29-Aug-08 9:02
Ashfield29-Aug-08 9:02 
AnswerRe: Venue booking code in vb.net Pin
Expert Coming29-Aug-08 9:09
Expert Coming29-Aug-08 9:09 
GeneralRe: Venue booking code in vb.net Pin
Verghese29-Aug-08 10:12
Verghese29-Aug-08 10:12 
GeneralRe: Venue booking code in vb.net Pin
Expert Coming29-Aug-08 10:32
Expert Coming29-Aug-08 10:32 
AnswerRe: Venue booking code in vb.net Pin
Wendelius29-Aug-08 10:31
mentorWendelius29-Aug-08 10:31 
QuestionCast Question Pin
Kevin Marois29-Aug-08 8:06
professionalKevin Marois29-Aug-08 8:06 
AnswerRe: Cast Question Pin
DaveyM6929-Aug-08 8:15
professionalDaveyM6929-Aug-08 8:15 
GeneralRe: Cast Question Pin
Kevin Marois29-Aug-08 8:30
professionalKevin Marois29-Aug-08 8:30 
AnswerRe: Cast Question Pin
Expert Coming29-Aug-08 8:21
Expert Coming29-Aug-08 8:21 
You should not have one method do two things. Split FindBook into two methods, FindBookByID, and FindBookByName.

Also, since you are not returning more than one result(i.e. only returning one book) don't store it and then return, just return as soon as you find a result. This way you don't loop through the rest of the books for no reason.

The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

GeneralRe: Cast Question Pin
Kevin Marois29-Aug-08 8:28
professionalKevin Marois29-Aug-08 8:28 
GeneralRe: Cast Question Pin
Expert Coming29-Aug-08 8:34
Expert Coming29-Aug-08 8:34 
GeneralRe: Cast Question Pin
Kevin Marois29-Aug-08 8:43
professionalKevin Marois29-Aug-08 8:43 
GeneralRe: Cast Question Pin
Expert Coming29-Aug-08 8:59
Expert Coming29-Aug-08 8:59 
GeneralRe: Cast Question Pin
Kevin Marois29-Aug-08 9:02
professionalKevin Marois29-Aug-08 9:02 
GeneralRe: Cast Question Pin
Expert Coming29-Aug-08 9:07
Expert Coming29-Aug-08 9:07 
AnswerRe: Cast Question Pin
Guffa29-Aug-08 8:29
Guffa29-Aug-08 8:29 
AnswerRe: Cast Question Pin
Scott Dorman29-Aug-08 8:45
professionalScott Dorman29-Aug-08 8:45 
GeneralRe: Cast Question Pin
Kevin Marois29-Aug-08 8:49
professionalKevin Marois29-Aug-08 8:49 
GeneralRe: Cast Question Pin
Scott Dorman29-Aug-08 8:59
professionalScott Dorman29-Aug-08 8:59 

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.