Access the children of an item
Version:
You can use the Sitecore.Data.Items.Children property to access the children of an item. For example, to access the children of the /Sitecore/Content/Home item in the Master database:
The system creates a new Sitecore.Collections.Childlist object each time you access the Sitecore.Data.Items.Item.Children property. The implementation of the C# for each statement accesses the property only once.
You can also get the children items by invoking the items GetChildren method. For example, to retrieve children items of the current page, use this code:
var children = currentPage.GetChildren();