How to set which of function inputs are required and which are not (C#)
- by Ole Jak
So I have a function
public int Sum(var valueA, var valueB, var valueC) {
var summ = valueA + valueB;
return summ;
}
I want to add to summ valueC if it was given. And let user not specify it if he does not want to. How to do such thing?