Skip to content

C# Array.ToString

Got tired of searching up this line elsewhere. Now that I’m writing this, I’ll probably memorize it in the process. That’ll be nice.


public override String ToString() 
{
   return "' Search scope: " + this.searchScope
    + " Filter: '" + this.getFilter()
    + "' Search base: '" + this.searchBase + "'"
    + " Returned attributes: {" + String.Join(" , ", this.returnedAttributes.ToArray()) + "}";
}