Click here to Skip to main content
15,914,780 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: outlook profile information Pin
Richard MacCutchan25-Oct-12 6:12
mveRichard MacCutchan25-Oct-12 6:12 
QuestionAddRange and RemoveRange inconsistencies Pin
n.podbielski23-Oct-12 22:33
n.podbielski23-Oct-12 22:33 
AnswerRe: AddRange and RemoveRange inconsistencies Pin
Eddy Vluggen23-Oct-12 23:40
professionalEddy Vluggen23-Oct-12 23:40 
Questiongps feature Pin
johnson_shalom22-Oct-12 23:31
johnson_shalom22-Oct-12 23:31 
AnswerRe: gps feature Pin
Pete O'Hanlon23-Oct-12 0:00
mvePete O'Hanlon23-Oct-12 0:00 
QuestionIndex was out of range. Must be non-negative and less than the size of the collection. Pin
k3nny1222-Oct-12 16:03
k3nny1222-Oct-12 16:03 
AnswerRe: Index was out of range. Must be non-negative and less than the size of the collection. Pin
Bernhard Hiller22-Oct-12 20:48
Bernhard Hiller22-Oct-12 20:48 
AnswerRe: Index was out of range. Must be non-negative and less than the size of the collection. Pin
Richard MacCutchan22-Oct-12 22:31
mveRichard MacCutchan22-Oct-12 22:31 
C#
this.Mentor(this.comboLineType.SelectedIndex, Convert.ToDouble(this.utilSlackParamBar.Value) / 100.0 * this.network.GetLineType(this.comboLineType.SelectedIndex).Linespeed, 1.0, 0.4, 0.2, Convert.ToDouble(this.alphaParamBar.Value) / 100.0, "F", 1.0 - Convert.ToDouble(this.utilSlackParamBar.Value) / 100.0);

Writing composite expressions such as this in a single line of code is just asking for trouble. You have no way of checking any of the interim values that are being selected or calculated.
One of these days I'm going to think of a really clever signature.

GeneralRe: Index was out of range. Must be non-negative and less than the size of the collection. Pin
k3nny1223-Oct-12 12:15
k3nny1223-Oct-12 12:15 
GeneralRe: Index was out of range. Must be non-negative and less than the size of the collection. Pin
Richard MacCutchan23-Oct-12 21:56
mveRichard MacCutchan23-Oct-12 21:56 
GeneralRe: Index was out of range. Must be non-negative and less than the size of the collection. Pin
Pete O'Hanlon23-Oct-12 22:17
mvePete O'Hanlon23-Oct-12 22:17 
AnswerRe: Index was out of range. Must be non-negative and less than the size of the collection. Pin
k3nny1224-Oct-12 10:10
k3nny1224-Oct-12 10:10 
GeneralRe: Index was out of range. Must be non-negative and less than the size of the collection. Pin
Richard MacCutchan24-Oct-12 21:56
mveRichard MacCutchan24-Oct-12 21:56 
QuestionInterface Pin
Ranjalkar Raghavendra22-Oct-12 0:01
Ranjalkar Raghavendra22-Oct-12 0:01 
AnswerRe: Interface Pin
Richard MacCutchan22-Oct-12 0:12
mveRichard MacCutchan22-Oct-12 0:12 
AnswerRe: Interface Pin
Eddy Vluggen22-Oct-12 0:13
professionalEddy Vluggen22-Oct-12 0:13 
QuestionAbstract Class Pin
Ranjalkar Raghavendra22-Oct-12 0:00
Ranjalkar Raghavendra22-Oct-12 0:00 
AnswerRe: Abstract Class Pin
Mayank_Gupta_26-Oct-12 1:07
professionalMayank_Gupta_26-Oct-12 1:07 
Questiontext search in tfs at root level Pin
Member 391904919-Oct-12 10:58
Member 391904919-Oct-12 10:58 
Questiondisplay control Pin
mahesh s charan18-Oct-12 20:50
mahesh s charan18-Oct-12 20:50 
AnswerRe: display control Pin
Eddy Vluggen19-Oct-12 3:02
professionalEddy Vluggen19-Oct-12 3:02 
GeneralRe: display control Pin
mahesh s charan19-Oct-12 22:38
mahesh s charan19-Oct-12 22:38 
GeneralRe: display control Pin
Eddy Vluggen19-Oct-12 22:44
professionalEddy Vluggen19-Oct-12 22:44 
Question"There was no endpoint listening at http" Pin
loweryk17-Oct-12 11:51
loweryk17-Oct-12 11:51 
Questionis it possible to make a setup wizard to include updates? Pin
neodeaths15-Oct-12 8:41
neodeaths15-Oct-12 8:41 

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.