Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
AnswerRe: c# Why can I not get this to work? Pin
User 74293389-May-18 23:24
professionalUser 74293389-May-18 23:24 
Questionnow how can i get the splitted values in a textbox from seperate line in c# using text file Pin
Mohamed Fahad M6-May-18 4:14
Mohamed Fahad M6-May-18 4:14 
AnswerRe: now how can i get the splitted values in a textbox from seperate line in c# using text file Pin
Gerry Schmitz6-May-18 5:02
mveGerry Schmitz6-May-18 5:02 
AnswerRe: now how can i get the splitted values in a textbox from seperate line in c# using text file Pin
OriginalGriff6-May-18 6:47
mveOriginalGriff6-May-18 6:47 
QuestionThe data contract type “…” cannot be deserialized because the required data members Pin
Ruhul Md Amin5-May-18 9:36
Ruhul Md Amin5-May-18 9:36 
AnswerRe: The data contract type “…” cannot be deserialized because the required data members Pin
OriginalGriff5-May-18 20:45
mveOriginalGriff5-May-18 20:45 
GeneralRe: The data contract type “…” cannot be deserialized because the required data members Pin
Ruhul Md Amin6-May-18 1:52
Ruhul Md Amin6-May-18 1:52 
Questionwhen have you used a C# SortedList<TKey, TValue> ? Pin
BillWoodruff5-May-18 7:44
professionalBillWoodruff5-May-18 7:44 
I have been familiarizing myself with this, but keep thinking that ... given the efficiency of .NET's hash-based data structures ... unless I had a huge SortedList<TKey, TValue> list, frequently accessed, with a large percentage of accesses matching the sort-order ... that I might as well use a hash-based solution.

On the "plus side," SortedList offers some nice facilities, like 'IndexOfValue, and it's easy to work-around having duplicate keys by using a custom IComparer<TKey> implementation.

Of course, if you choose to allow duplicate keys: changing the value associated with the key does not resort the list; to force a re-sort you have to remove the Key-Value pair, change the Value, and then, add the modified Key-Value pair back to the list.

Appreciate hearing from you about the strategic use of this data-structure.

thanks, Bill
«... thank the gods that they have made you superior to those events which they have not placed within your own control, rendered you accountable for that only which is within you own control For what, then, have they made you responsible? For that which is alone in your own power—a right use of things as they appear.» Discourses of Epictetus Book I:12


modified 5-May-18 14:54pm.

AnswerRe: when have you used a C# SortedList<TKey, TValue> ? Pin
Gerry Schmitz5-May-18 8:42
mveGerry Schmitz5-May-18 8:42 
GeneralRe: when have you used a C# SortedList<TKey, TValue> ? Pin
BillWoodruff5-May-18 23:21
professionalBillWoodruff5-May-18 23:21 
GeneralRe: when have you used a C# SortedList<TKey, TValue> ? Pin
Gerry Schmitz6-May-18 4:33
mveGerry Schmitz6-May-18 4:33 
GeneralRe: when have you used a C# SortedList<TKey, TValue> ? Pin
BillWoodruff6-May-18 6:55
professionalBillWoodruff6-May-18 6:55 
GeneralRe: when have you used a C# SortedList<TKey, TValue> ? Pin
Gerry Schmitz6-May-18 7:33
mveGerry Schmitz6-May-18 7:33 
GeneralRe: when have you used a C# SortedList<TKey, TValue> ? Pin
BillWoodruff6-May-18 23:23
professionalBillWoodruff6-May-18 23:23 
AnswerRe: when have you used a C# SortedList<TKey, TValue> ? Pin
jschell5-May-18 11:29
jschell5-May-18 11:29 
GeneralRe: when have you used a C# SortedList<TKey, TValue> ? Pin
BillWoodruff5-May-18 23:25
professionalBillWoodruff5-May-18 23:25 
GeneralRe: when have you used a C# SortedList<TKey, TValue> ? Pin
jschell12-May-18 9:22
jschell12-May-18 9:22 
GeneralInvalid column name 'NoteTotal' , how to fix it to this error in Sql server Pin
Member 105327485-May-18 7:33
Member 105327485-May-18 7:33 
GeneralRe: Invalid column name 'NoteTotal' , how to fix it to this error in Sql server Pin
Eddy Vluggen5-May-18 7:43
professionalEddy Vluggen5-May-18 7:43 
GeneralRe: Invalid column name 'NoteTotal' , how to fix it to this error in Sql server Pin
Gerry Schmitz5-May-18 7:44
mveGerry Schmitz5-May-18 7:44 
QuestionI need to get the next next text from text file Pin
Mohamed Fahad M5-May-18 3:04
Mohamed Fahad M5-May-18 3:04 
AnswerRe: I need to get the next next text from text file Pin
Richard MacCutchan5-May-18 3:21
mveRichard MacCutchan5-May-18 3:21 
AnswerRe: I need to get the next next text from text file Pin
OriginalGriff5-May-18 3:27
mveOriginalGriff5-May-18 3:27 
AnswerRe: I need to get the next next text from text file Pin
Gerry Schmitz5-May-18 4:35
mveGerry Schmitz5-May-18 4:35 
QuestionOpenTK and text Pin
Leif Simon Goodwin4-May-18 5:39
Leif Simon Goodwin4-May-18 5:39 

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.