protected internal String ToXMLFragment()
{
StringBuilder xml = new StringBuilder();
List<OtherCategoriesSimilarProduct> otherCategoriesSimilarProductList = this.OtherCategoriesSimilarProduct;
foreach (OtherCategoriesSimilarProduct otherCategoriesSimilarProduct in otherCategoriesSimilarProductList) {
xml.Append("<OtherCategoriesSimilarProduct>");
xml.Append(otherCategoriesSimilarProduct.ToXMLFragment());
xml.Append("</OtherCategoriesSimilarProduct>");
}
return xml.ToString();
}