Visual Basic and Respect

Ken Getz published an useful article about using LINQ to XML queries in Visual Basic .NET. In this article he shows how work with Xml in VB.NET on lots of examples. Here's one of it:

VB.NET

   foreach (var item in items)
{
Console.WriteLine("{0}: {1,-40} ({2})",
item.Attribute("CustomerID").Value,
item.Element("Company").Value,
item.Element("Phone").Value);
}

You can find the full version of this article on devX.com site.