ProAnswers.org

Hidden .NET Base Class Library Classes?

What are your favorite lesser-known .NET Base Class Library classes and methods?

1 Like

Path.GetFileNameWithoutExtension, among others.

	[b]System.Diagnostics.DebuggerDisplay[/b]



	When you're debugging, if the class is attributed, visual studio will display the information on mouse-over. It even allows you to put in properties of private fields, etc.

[System.Diagnostics.DebuggerDisplay(“MyClass: ID={ID} Name={Name} ChildName={_child.Name}”)]

	Ref: [msdn](http://msdn.microsoft.com/en-us/library/x810d419.aspx)