C# Class CSharpFeaturesTest.V40.NamedAndOptionalArguments.NamedAndOptionalArgumentsTest

Show file Open project: ohyecloudy/csharp-features

Public Methods

Method Description
ExampleMethod ( int required, string optionalStr = "default string", int optionalInt = newInt32() ) : void

Private Methods

Method Description
NamedArgumentsTest ( ) : void
OptionalArgumentsTest ( ) : void
Power ( int baseNum, int exponent ) : int

Method Details

ExampleMethod() public method

public ExampleMethod ( int required, string optionalStr = "default string", int optionalInt = newInt32() ) : void
required int
optionalStr string
optionalInt int
return void