// Using Optional Attribute private void SomeMethod([Optional] string param) { ... } // Using Default Values private void SomeMethod(string param = null) { ... }