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

C#

 
QuestionRe: Trying to use a string to adb command line Pin
Richard MacCutchan4-Oct-17 22:28
mveRichard MacCutchan4-Oct-17 22:28 
AnswerRe: Trying to use a string to adb command line Pin
Cláudio Hideki4-Oct-17 23:40
Cláudio Hideki4-Oct-17 23:40 
GeneralRe: Trying to use a string to adb command line Pin
Richard MacCutchan4-Oct-17 23:50
mveRichard MacCutchan4-Oct-17 23:50 
AnswerRe: Trying to use a string to adb command line Pin
Bernhard Hiller4-Oct-17 23:31
Bernhard Hiller4-Oct-17 23:31 
GeneralRe: Trying to use a string to adb command line Pin
Cláudio Hideki4-Oct-17 23:45
Cláudio Hideki4-Oct-17 23:45 
GeneralRe: Trying to use a string to adb command line Pin
Bernhard Hiller5-Oct-17 21:14
Bernhard Hiller5-Oct-17 21:14 
Questioncreate a simple editor with intellisense Pin
Member 121289494-Oct-17 0:08
Member 121289494-Oct-17 0:08 
AnswerRe: create a simple editor with intellisense Pin
Eddy Vluggen4-Oct-17 0:17
professionalEddy Vluggen4-Oct-17 0:17 
QuestionRun List Of Tasks, Then Get All Results Pin
Kevin Marois2-Oct-17 12:51
professionalKevin Marois2-Oct-17 12:51 
AnswerRe: Run List Of Tasks, Then Get All Results Pin
Pete O'Hanlon2-Oct-17 20:09
mvePete O'Hanlon2-Oct-17 20:09 
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 

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.