I noted a lot recently that C# developers do not use the curly braces for if and for loops, it seems that the indentation is enough. So if you write this:
if (elemInner.HasElements)
foreach (XElement elemInnerInner in elemInner.Elements())
context.Response.Write("
" + elemInnerInner.Name + "
");
Apparently you use curly braces if you have multiple lines you should use curly braces. If you don’t use curly braces only the first line in your condition will be execute.
Place your comment