Click here to Skip to main content
15,890,399 members
Home / Discussions / C#
   

C#

 
GeneralRe: Run List Of Tasks, Then Get All Results Pin
Kevin Marois3-Oct-17 3:52
professionalKevin Marois3-Oct-17 3:52 
GeneralRe: Run List Of Tasks, Then Get All Results Pin
Richard Deeming3-Oct-17 4:31
mveRichard Deeming3-Oct-17 4:31 
GeneralRe: Run List Of Tasks, Then Get All Results Pin
Kevin Marois3-Oct-17 5:33
professionalKevin Marois3-Oct-17 5:33 
GeneralRe: Run List Of Tasks, Then Get All Results Pin
Richard Deeming3-Oct-17 6:21
mveRichard Deeming3-Oct-17 6:21 
GeneralRe: Run List Of Tasks, Then Get All Results Pin
Nathan Minier4-Oct-17 1:54
professionalNathan Minier4-Oct-17 1:54 
QuestionFind Insert Position In An ObservableCollection Pin
Kevin Marois2-Oct-17 6:54
professionalKevin Marois2-Oct-17 6:54 
AnswerRe: Find Insert Position In An ObservableCollection Pin
Dave Kreskowiak2-Oct-17 7:14
mveDave Kreskowiak2-Oct-17 7:14 
GeneralRe: Find Insert Position In An ObservableCollection Pin
Kevin Marois2-Oct-17 7:21
professionalKevin Marois2-Oct-17 7:21 
Maybe you misunderstood my question.

I'm trying to find the alphabetical index position of where to insert an item.

So if I have

"An item"
"My Item"
"Some stuff"

and I want to insert "New Item", then it should have index position of 2 and be inserted between M and S.

[Update]
I could simply add it to the list, then do
DatabaseItems = new ObservableCollection(myTempList.OrderBy(x => x.DatabaseTypeName))

but this will recreate the list every time. It's cheaper to insert the new item into the list at the position it belongs at. I'm just not sure how to find that position
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

GeneralRe: Find Insert Position In An ObservableCollection Pin
Dave Kreskowiak2-Oct-17 7:45
mveDave Kreskowiak2-Oct-17 7:45 
GeneralRe: Find Insert Position In An ObservableCollection Pin
Kevin Marois2-Oct-17 7:52
professionalKevin Marois2-Oct-17 7:52 
GeneralOT: bad link in your sig. Pin
OriginalGriff2-Oct-17 21:56
mveOriginalGriff2-Oct-17 21:56 
GeneralRe: OT: bad link in your sig. Pin
Dave Kreskowiak3-Oct-17 1:52
mveDave Kreskowiak3-Oct-17 1:52 
GeneralRe: OT: bad link in your sig. Pin
OriginalGriff3-Oct-17 2:20
mveOriginalGriff3-Oct-17 2:20 
AnswerRe: Find Insert Position In An ObservableCollection Pin
Alaa Ben Fatma3-Oct-17 10:27
professionalAlaa Ben Fatma3-Oct-17 10:27 
SuggestionUse design patterns in the 15 puzzle game and ensure a rollback Pin
Member 1276922230-Sep-17 5:22
Member 1276922230-Sep-17 5:22 
GeneralRe: Use design patterns in the 15 puzzle game and ensure a rollback Pin
OriginalGriff30-Sep-17 5:40
mveOriginalGriff30-Sep-17 5:40 
GeneralRe: Use design patterns in the 15 puzzle game and ensure a rollback Pin
Nathan Minier2-Oct-17 1:35
professionalNathan Minier2-Oct-17 1:35 
Answeruse of design patterns in 15 puzzle Pin
Member 1276922230-Sep-17 0:23
Member 1276922230-Sep-17 0:23 
GeneralRe: use of design patterns in 15 puzzle Pin
OriginalGriff30-Sep-17 0:43
mveOriginalGriff30-Sep-17 0:43 
QuestionCreating Custom Message using data from Excel Pin
MRMOSES28-Sep-17 19:57
MRMOSES28-Sep-17 19:57 
AnswerRe: Creating Custom Message using data from Excel Pin
OriginalGriff28-Sep-17 20:10
mveOriginalGriff28-Sep-17 20:10 
GeneralRe: Creating Custom Message using data from Excel Pin
MRMOSES28-Sep-17 20:23
MRMOSES28-Sep-17 20:23 
AnswerRe: Creating Custom Message using data from Excel Pin
OriginalGriff28-Sep-17 20:26
mveOriginalGriff28-Sep-17 20:26 
GeneralRe: Creating Custom Message using data from Excel Pin
MRMOSES28-Sep-17 21:41
MRMOSES28-Sep-17 21:41 
GeneralRe: Creating Custom Message using data from Excel Pin
OriginalGriff28-Sep-17 22:10
mveOriginalGriff28-Sep-17 22:10 

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.