Click here to Skip to main content
15,884,177 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to set half Pixel size in C# Pin
BillWoodruff18-Dec-13 20:47
professionalBillWoodruff18-Dec-13 20:47 
GeneralRe: how to set half Pixel size in C# Pin
OriginalGriff18-Dec-13 21:09
mveOriginalGriff18-Dec-13 21:09 
GeneralRe: how to set half Pixel size in C# Pin
BillWoodruff19-Dec-13 0:24
professionalBillWoodruff19-Dec-13 0:24 
QuestionRe: how to set half Pixel size in C# Pin
GuyThiebaut18-Dec-13 22:01
professionalGuyThiebaut18-Dec-13 22:01 
AnswerRe: how to set half Pixel size in C# Pin
sagar siripuram19-Dec-13 0:20
sagar siripuram19-Dec-13 0:20 
GeneralRe: how to set half Pixel size in C# Pin
Richard MacCutchan19-Dec-13 1:18
mveRichard MacCutchan19-Dec-13 1:18 
GeneralRe: how to set half Pixel size in C# Pin
GuyThiebaut19-Dec-13 20:06
professionalGuyThiebaut19-Dec-13 20:06 
QuestionDeserialize dictionary with datacontractserializer c# Pin
Member 1047521718-Dec-13 8:35
professionalMember 1047521718-Dec-13 8:35 
I want to deserialize a dictionary with datacontractserializer, the xml schema is the following :

XML
<General xmlns="http://schemas.datacontract.org/2004/07/MyProject" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Mydictionary xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <a:KeyValueOfunsignedByteMyclass>
        <a:Key>1</a:Key>
        <a:Value>
                     ....
        </a:Value>
    </a:KeyValueOfunsignedByteMyclass>
    <a:KeyValueOfunsignedByteMyclass>
        <a:Key>2</a:Key>
        <a:Value>
                    ....
        </a:Value>
    </a:KeyValueOfunsignedByteMyclass>
</Mydictionary>


But on deserializing, I get this error :

"An item with the same key has already been added."

(referencing KeyValueOfunsignedByteMyclass)

Can someone help me to resolve this problem please?

Thanks
AnswerRe: Deserialize dictionary with datacontractserializer c# Pin
BillWoodruff18-Dec-13 9:38
professionalBillWoodruff18-Dec-13 9:38 
QuestionHow to avoid compression options pop up box in avisaveoptions Pin
delphix518-Dec-13 8:13
delphix518-Dec-13 8:13 
QuestionHow Choice Avimanger compression from code Pin
delphix518-Dec-13 7:54
delphix518-Dec-13 7:54 
NewsRun SQL Scripts From C# Pin
Kevin Marois18-Dec-13 6:23
professionalKevin Marois18-Dec-13 6:23 
GeneralRe: Run SQL Scripts From C# Pin
Richard Deeming18-Dec-13 7:06
mveRichard Deeming18-Dec-13 7:06 
GeneralRe: Run SQL Scripts From C# Pin
Kevin Marois18-Dec-13 7:07
professionalKevin Marois18-Dec-13 7:07 
GeneralRe: Run SQL Scripts From C# Pin
V.18-Dec-13 21:01
professionalV.18-Dec-13 21:01 
QuestionRead comma delimited .txt file with large number of data - do search in column A Pin
lordoftrades18-Dec-13 2:15
lordoftrades18-Dec-13 2:15 
AnswerRe: Read comma delimited .txt file with large number of data - do search in column A Pin
Richard MacCutchan18-Dec-13 2:47
mveRichard MacCutchan18-Dec-13 2:47 
GeneralRe: Read comma delimited .txt file with large number of data - do search in column A Pin
lordoftrades18-Dec-13 2:48
lordoftrades18-Dec-13 2:48 
AnswerRe: Read comma delimited .txt file with large number of data - do search in column A Pin
Manfred Rudolf Bihy18-Dec-13 2:55
professionalManfred Rudolf Bihy18-Dec-13 2:55 
GeneralRe: Read comma delimited .txt file with large number of data - do search in column A Pin
lordoftrades18-Dec-13 3:03
lordoftrades18-Dec-13 3:03 
GeneralRe: Read comma delimited .txt file with large number of data - do search in column A Pin
Manfred Rudolf Bihy18-Dec-13 3:13
professionalManfred Rudolf Bihy18-Dec-13 3:13 
AnswerRe: Read comma delimited .txt file with large number of data - do search in column A Pin
BillWoodruff18-Dec-13 3:32
professionalBillWoodruff18-Dec-13 3:32 
GeneralRe: Read comma delimited .txt file with large number of data - do search in column A Pin
Manfred Rudolf Bihy18-Dec-13 3:53
professionalManfred Rudolf Bihy18-Dec-13 3:53 
GeneralRe: Read comma delimited .txt file with large number of data - do search in column A Pin
BillWoodruff18-Dec-13 4:30
professionalBillWoodruff18-Dec-13 4:30 
GeneralRe: Read comma delimited .txt file with large number of data - do search in column A Pin
lordoftrades18-Dec-13 4:12
lordoftrades18-Dec-13 4:12 

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.