Click here to Skip to main content
15,793,260 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to copy DataTable contents into SQLite table? Pin
Alex Dunlop27-Jul-21 1:39
Alex Dunlop27-Jul-21 1:39 
AnswerRe: How to copy DataTable contents into SQLite table? Pin
Richard Andrew x6428-Jul-21 3:36
professionalRichard Andrew x6428-Jul-21 3:36 
QuestionRTD communication error (COM) / .ConnectData(Int32 topicId, Object[]& parameters, Boolean& newValue) Pin
Juliano Zucatti26-Jul-21 11:14
Juliano Zucatti26-Jul-21 11:14 
QuestionHow to shuffle an array VS Windows Form Application? Pin
Sofi081326-Jul-21 1:26
Sofi081326-Jul-21 1:26 
AnswerRe: How to shuffle an array VS Windows Form Application? Pin
OriginalGriff26-Jul-21 1:40
mvaOriginalGriff26-Jul-21 1:40 
GeneralRe: How to shuffle an array VS Windows Form Application? Pin
Sofi081326-Jul-21 2:22
Sofi081326-Jul-21 2:22 
AnswerRe: How to shuffle an array VS Windows Form Application? Pin
Richard MacCutchan26-Jul-21 1:42
mveRichard MacCutchan26-Jul-21 1:42 
QuestionHow to find average value for duplicate keys in Dictionary? Pin
Alex Dunlop24-Jul-21 5:29
Alex Dunlop24-Jul-21 5:29 
Hi,
I want to explain my real-world problem with a simple example. I have these names and their corresponding marks:
Alex -----> 20
Alexis -----> 12.5
John -----> 16.3
Alex -----> 17.5
John -----> 19

I can sum each person's mark using Dictionary but I don't know how to find the average for them.
If there is any better way to find the average else than Dictionary, please guide me.
Thanks.
AnswerRe: How to find average value for duplicate keys in Dictionary? Pin
Alex Dunlop24-Jul-21 7:29
Alex Dunlop24-Jul-21 7:29 
GeneralRe: How to find average value for duplicate keys in Dictionary? Pin
Gerry Schmitz24-Jul-21 7:44
mveGerry Schmitz24-Jul-21 7:44 
AnswerRe: How to find average value for duplicate keys in Dictionary? Pin
OriginalGriff24-Jul-21 7:47
mvaOriginalGriff24-Jul-21 7:47 
AnswerRe: How to find average value for duplicate keys in Dictionary? Pin
BillWoodruff28-Jul-21 4:11
professionalBillWoodruff28-Jul-21 4:11 
QuestionEfficient method to build a CSV string Pin
Vikas Mishra Jul202123-Jul-21 11:46
Vikas Mishra Jul202123-Jul-21 11:46 
AnswerRe: Efficient method to build a CSV string Pin
Dave Kreskowiak23-Jul-21 12:59
mveDave Kreskowiak23-Jul-21 12:59 
AnswerRe: Efficient method to build a CSV string Pin
Richard Andrew x6423-Jul-21 13:18
professionalRichard Andrew x6423-Jul-21 13:18 
AnswerRe: Efficient method to build a CSV string Pin
Gerry Schmitz24-Jul-21 7:20
mveGerry Schmitz24-Jul-21 7:20 
QuestionHow to get double value in string format? Pin
Alex Dunlop23-Jul-21 8:48
Alex Dunlop23-Jul-21 8:48 
AnswerRe: How to get double value in string format? Pin
OriginalGriff23-Jul-21 9:12
mvaOriginalGriff23-Jul-21 9:12 
GeneralRe: How to get double value in string format? Pin
Alex Dunlop29-Jul-21 7:20
Alex Dunlop29-Jul-21 7:20 
GeneralRe: How to get double value in string format? Pin
OriginalGriff29-Jul-21 7:32
mvaOriginalGriff29-Jul-21 7:32 
GeneralRe: How to get double value in string format? Pin
Alex Dunlop29-Jul-21 7:48
Alex Dunlop29-Jul-21 7:48 
GeneralRe: How to get double value in string format? Pin
OriginalGriff29-Jul-21 7:32
mvaOriginalGriff29-Jul-21 7:32 
AnswerRe: How to get double value in string format? Pin
Richard MacCutchan23-Jul-21 9:59
mveRichard MacCutchan23-Jul-21 9:59 
GeneralRe: How to get double value in string format? Pin
Alex Dunlop29-Jul-21 7:21
Alex Dunlop29-Jul-21 7:21 
GeneralRe: How to get double value in string format? Pin
Richard MacCutchan29-Jul-21 7:31
mveRichard MacCutchan29-Jul-21 7:31 

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.