Click here to Skip to main content
14,640,409 members
Home » Discussions » C#
   

C#

 
AnswerRe: Snmp packet format Pin
jschell16-Apr-12 12:26
Memberjschell16-Apr-12 12:26 
AnswerRe: Snmp packet format Pin
Member 788151818-Apr-12 16:24
MemberMember 788151818-Apr-12 16:24 
QuestionUpdating application on internet Pin
jojoba201113-Apr-12 19:54
Memberjojoba201113-Apr-12 19:54 
AnswerRe: Updating application on internet Pin
Abhinav S13-Apr-12 20:33
MemberAbhinav S13-Apr-12 20:33 
QuestionIEnumerable - why does this code work? Pin
jeramyRR13-Apr-12 19:11
MemberjeramyRR13-Apr-12 19:11 
AnswerRe: IEnumerable - why does this code work? Pin
Karthik Harve13-Apr-12 19:48
professionalKarthik Harve13-Apr-12 19:48 
GeneralRe: IEnumerable - why does this code work? Pin
jeramyRR13-Apr-12 20:19
MemberjeramyRR13-Apr-12 20:19 
AnswerRe: IEnumerable - why does this code work? Pin
VJ Reddy13-Apr-12 20:44
MemberVJ Reddy13-Apr-12 20:44 
The XElement.Elements Method
Returns a collection of the child elements of this element or document, in document order.
as given here.
http://msdn.microsoft.com/en-us/library/system.xml.linq.xelement.elements.aspx[^].
This collection implements IEnumerable<xelement>, hence you could write the statement
IEnumerable<XElement> employees = root.Elements();
GeneralRe: IEnumerable - why does this code work? Pin
jeramyRR13-Apr-12 20:46
MemberjeramyRR13-Apr-12 20:46 
GeneralRe: IEnumerable - why does this code work? Pin
VJ Reddy13-Apr-12 20:50
MemberVJ Reddy13-Apr-12 20:50 
GeneralRe: IEnumerable - why does this code work? Pin
Abhinav S13-Apr-12 20:49
MemberAbhinav S13-Apr-12 20:49 
GeneralRe: IEnumerable - why does this code work? Pin
VJ Reddy13-Apr-12 20:51
MemberVJ Reddy13-Apr-12 20:51 
GeneralRe: IEnumerable - why does this code work? Pin
Wonde Tadesse14-Apr-12 13:53
professionalWonde Tadesse14-Apr-12 13:53 
GeneralRe: IEnumerable - why does this code work? Pin
VJ Reddy14-Apr-12 14:19
MemberVJ Reddy14-Apr-12 14:19 
AnswerRe: IEnumerable - why does this code work? Pin
Abhinav S13-Apr-12 20:41
MemberAbhinav S13-Apr-12 20:41 
GeneralRe: IEnumerable - why does this code work? Pin
VJ Reddy13-Apr-12 20:45
MemberVJ Reddy13-Apr-12 20:45 
GeneralRe: IEnumerable - why does this code work? Pin
jeramyRR13-Apr-12 20:46
MemberjeramyRR13-Apr-12 20:46 
GeneralRe: IEnumerable - why does this code work? Pin
Abhinav S13-Apr-12 20:48
MemberAbhinav S13-Apr-12 20:48 
QuestionHow to provide the articles in nice way Pin
Anurag Sarkar13-Apr-12 9:21
MemberAnurag Sarkar13-Apr-12 9:21 
AnswerRe: How to provide the articles in nice way Pin
PIEBALDconsult13-Apr-12 9:28
professionalPIEBALDconsult13-Apr-12 9:28 
GeneralRe: How to provide the articles in nice way Pin
Anurag Sarkar13-Apr-12 9:37
MemberAnurag Sarkar13-Apr-12 9:37 
AnswerRe: How to provide the articles in nice way Pin
Abhinav S13-Apr-12 20:43
MemberAbhinav S13-Apr-12 20:43 
Questionhow to add soap headers to the xml generated from webservice using c#.net 4.0 Pin
anandsurya13-Apr-12 3:39
Memberanandsurya13-Apr-12 3:39 
AnswerCross posted Pin
Pete O'Hanlon13-Apr-12 4:06
subeditorPete O'Hanlon13-Apr-12 4:06 
GeneralRe: Cross posted Pin
vishal ch surve13-Apr-12 17:32
Membervishal ch surve13-Apr-12 17:32 

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.