How can I make a method have default values for parameters?
C# 4.0 allows you to use named and optional arguments:
public void ExampleMethod( int required, string optionalstr = "default string", int optionalint = 10 )
In previous versions you could simulate default parameters by using method overloading.