Application.Run in C#.Net

  • The Application.Run will run the standard application message loop in the current thread where the Application runs.
  • The Application.Run also takes the parameter of type Form

Descendants vs. Elements in Linq to XML

Starting with Elements(XName).
Returns a filtered collection of the child elements of this element or document, in document order.
Only elements that have a matching XName are included in the collection.
And secondly the Descendants(XName) method.
Returns a filtered collection of the descendant elements for this document or element, in document order.
Only elements that have a matching XName are included in the collection.