Is there a way to have named arguments like in perl/python
for example
object.method(arg1 => value1, arg2 => value2, arg3 => 0);
in C# prior to C# 4.0?
Is there a way to have named arguments like in perl/python
for example
object.method(arg1 => value1, arg2 => value2, arg3 => 0);
in C# prior to C# 4.0?
method named arguments are C# 4.0 feature. (You can't have method optional parameters in C# < 4.0)
It is not possible before C# 4.0.
BTW, there is no such thing as C# 2.5.