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

C#

 
GeneralRe: RRe: A simple proxy server in C# Pin
Richard Andrew x6412-Aug-12 5:25
professionalRichard Andrew x6412-Aug-12 5:25 
GeneralRe: RRe: A simple proxy server in C# Pin
Prahlad Yeri12-Aug-12 5:31
Prahlad Yeri12-Aug-12 5:31 
GeneralRe: RRe: A simple proxy server in C# Pin
Richard Andrew x6412-Aug-12 5:36
professionalRichard Andrew x6412-Aug-12 5:36 
GeneralRe: RRe: A simple proxy server in C# Pin
Prahlad Yeri12-Aug-12 6:18
Prahlad Yeri12-Aug-12 6:18 
QuestionTracking system Pin
kipchirchir11-Aug-12 20:52
kipchirchir11-Aug-12 20:52 
AnswerRe: Tracking system Pin
OriginalGriff11-Aug-12 21:17
mveOriginalGriff11-Aug-12 21:17 
AnswerRe: Tracking system Pin
Richard MacCutchan11-Aug-12 21:46
mveRichard MacCutchan11-Aug-12 21:46 
QuestionXDocument.Save() reversing attribute order Pin
Nukeman3311-Aug-12 2:03
Nukeman3311-Aug-12 2:03 
If I do something like this

XElement root = new XElement("Root",
new XAttribute("Att1", "a"),
new XAttribute("Att2", "b"),
new XAttribute("Att3", "c"));
XDocument document = new XDocument(root);
document.Save("file.xml");

Instead of it writing

Root Att1="a" Att2="b" Att3="c"/

it writes Root Att3="c" Att2="b" Att1="a"/

Even in debugging mode when I look at the XML contents of document it appears to be in the proper order, but when it writes to file it reverses them. Can anyone tell me why it is doing this?
QuestionRe: XDocument.Save() reversing attribute order Pin
Eddy Vluggen11-Aug-12 2:22
professionalEddy Vluggen11-Aug-12 2:22 
AnswerRe: XDocument.Save() reversing attribute order Pin
Dave Kreskowiak11-Aug-12 4:13
mveDave Kreskowiak11-Aug-12 4:13 
AnswerRe: XDocument.Save() reversing attribute order Pin
jschell11-Aug-12 7:35
jschell11-Aug-12 7:35 
AnswerRe: XDocument.Save() reversing attribute order Pin
Abhinav S11-Aug-12 18:59
Abhinav S11-Aug-12 18:59 
Questionhow to create multiple countdown timer in one page in asp.net Pin
Sumit Malviya10-Aug-12 23:05
Sumit Malviya10-Aug-12 23:05 
AnswerRe: how to create multiple countdown timer in one page in asp.net Pin
Eddy Vluggen10-Aug-12 23:51
professionalEddy Vluggen10-Aug-12 23:51 
QuestionSQL + C# Pin
jojoba201110-Aug-12 21:42
jojoba201110-Aug-12 21:42 
AnswerRe: SQL + C# Pin
dan!sh 10-Aug-12 22:13
professional dan!sh 10-Aug-12 22:13 
QuestionRe: SQL + C# Pin
jojoba201111-Aug-12 18:01
jojoba201111-Aug-12 18:01 
Questionoutput App.Config to DLL Pin
Jassim Rahma10-Aug-12 12:25
Jassim Rahma10-Aug-12 12:25 
AnswerRe: output App.Config to DLL Pin
Wes Aday10-Aug-12 13:59
professionalWes Aday10-Aug-12 13:59 
GeneralRe: output App.Config to DLL Pin
Jassim Rahma11-Aug-12 4:32
Jassim Rahma11-Aug-12 4:32 
GeneralRe: output App.Config to DLL Pin
Wes Aday11-Aug-12 4:54
professionalWes Aday11-Aug-12 4:54 
AnswerRe: output App.Config to DLL Pin
Pete O'Hanlon10-Aug-12 23:08
mvePete O'Hanlon10-Aug-12 23:08 
AnswerRe: output App.Config to DLL Pin
Mycroft Holmes12-Aug-12 18:36
professionalMycroft Holmes12-Aug-12 18:36 
QuestionInternet connection Pin
Fred 3410-Aug-12 10:54
Fred 3410-Aug-12 10:54 
AnswerRe: Internet connection Pin
Wes Aday10-Aug-12 11:02
professionalWes Aday10-Aug-12 11:02 

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.