/// <summary>
 /// A method used to get the value of Element from an XmlElement array by specified name.
 /// </summary>
 /// <param name="elements">A parameter represents the source elements where the method finds the value.</param>
 /// <param name="name">A parameter represents the specified element name which is used to find element's value.</param>
 /// <returns>A return value represents the value of the matched element.</returns>
 public static string GetElementValue(XmlElement[] elements, string name)
     return elements.FirstOrDefault<XmlElement>(e => e.LocalName.Equals(name, StringComparison.OrdinalIgnoreCase)).InnerText;