Click here to Skip to main content
15,905,616 members
Home / Discussions / C#
   

C#

 
AnswerRe: Optional property c# Pin
BenScharbach14-Oct-17 9:08
BenScharbach14-Oct-17 9:08 
QuestionError 'not all code paths return a value' Pin
Bootzilla3322-Sep-17 11:07
Bootzilla3322-Sep-17 11:07 
AnswerRe: Error 'not all code paths return a value' Pin
Pete O'Hanlon22-Sep-17 12:08
mvePete O'Hanlon22-Sep-17 12:08 
GeneralRe: Error 'not all code paths return a value' Pin
BenScharbach14-Oct-17 9:11
BenScharbach14-Oct-17 9:11 
AnswerRe: Error 'not all code paths return a value' Pin
Karthik_Mahalingam25-Sep-17 19:55
professionalKarthik_Mahalingam25-Sep-17 19:55 
SuggestionRe: Error 'not all code paths return a value' Pin
Richard Deeming26-Sep-17 0:55
mveRichard Deeming26-Sep-17 0:55 
GeneralRe: Error 'not all code paths return a value' Pin
Karthik_Mahalingam26-Sep-17 1:12
professionalKarthik_Mahalingam26-Sep-17 1:12 
GeneralRe: Error 'not all code paths return a value' Pin
Richard Deeming26-Sep-17 1:14
mveRichard Deeming26-Sep-17 1:14 
GeneralRe: Error 'not all code paths return a value' Pin
Karthik_Mahalingam26-Sep-17 1:21
professionalKarthik_Mahalingam26-Sep-17 1:21 
AnswerRe: Error 'not all code paths return a value' Pin
Paul_Williams19-Oct-17 4:54
Paul_Williams19-Oct-17 4:54 
QuestionRead MS Access Code Files Using C# Pin
Kevin Marois22-Sep-17 7:20
professionalKevin Marois22-Sep-17 7:20 
AnswerRe: Read MS Access Code Files Using C# Pin
jschell22-Sep-17 8:47
jschell22-Sep-17 8:47 
GeneralRe: Read MS Access Code Files Using C# Pin
Kevin Marois22-Sep-17 9:06
professionalKevin Marois22-Sep-17 9:06 
GeneralRe: Read MS Access Code Files Using C# Pin
enhzflep22-Sep-17 10:47
enhzflep22-Sep-17 10:47 
GeneralRe: Read MS Access Code Files Using C# Pin
Kevin Marois22-Sep-17 11:49
professionalKevin Marois22-Sep-17 11:49 
GeneralRe: Read MS Access Code Files Using C# Pin
jschell26-Sep-17 6:11
jschell26-Sep-17 6:11 
GeneralRe: Read MS Access Code Files Using C# Pin
jschell26-Sep-17 6:08
jschell26-Sep-17 6:08 
AnswerRe: Read MS Access Code Files Using C# Pin
Joan M23-Sep-17 22:53
professionalJoan M23-Sep-17 22:53 
AnswerRe: Read MS Access Code Files Using C# Pin
Richard MacCutchan24-Sep-17 4:06
mveRichard MacCutchan24-Sep-17 4:06 
QuestionNeed help with API Values Pin
Bootzilla3322-Sep-17 3:17
Bootzilla3322-Sep-17 3:17 
AnswerRe: Need help with API Values Pin
Richard MacCutchan22-Sep-17 3:46
mveRichard MacCutchan22-Sep-17 3:46 
AnswerRe: Need help with API Values Pin
jschell22-Sep-17 8:58
jschell22-Sep-17 8:58 
Bootzilla33 wrote:
Is this how that would be done?


No.

From the fragment you have an 'element' which has an 'attribute' which has a 'name' of "name" (the two are not the same) and has a 'value' of "EventStatus".

Then you have another attribute also.

Then that element has other elements under it.

The documentation for XElement demonstrates some of this and more importantly demonstrates how you can print out the result so you can see it yourself.

XElement Class (System.Xml.Linq)[^]

You can look for other examples using XElement and XAttribute.

I want to emphasize that figuring out how to print these out is the most important thing you can learn. You need that even once you understand most of it.
QuestionDebug HTTP Vlient Handler (specifically cookies) in C# Pin
julian bechtold22-Sep-17 2:46
julian bechtold22-Sep-17 2:46 
Questionsplit method bug Pin
WoodChuckChuckles22-Sep-17 2:56
WoodChuckChuckles22-Sep-17 2:56 
AnswerRe: split method bug Pin
PIEBALDconsult22-Sep-17 2:51
mvePIEBALDconsult22-Sep-17 2:51 

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.