log4net SDK Documentation - Microsoft .NET Framework 4.0

PluginCollection.TrimToSize Method 

Sets the capacity to the actual number of elements.

[Visual Basic]
Overridable Public Sub TrimToSize()
[C#]
public virtual void TrimToSize();

See Also

PluginCollection Class | log4net.Plugin Namespace