0

Optional Arguments C# Need Help!

I don't know how why the outputs in Optional Arguments from C# are like they are.

27th Jul 2017, 11:57 AM
niccoob _
niccoob _ - avatar
3 odpowiedzi
+ 1
I'm Not sure I mean the example "static int Pow" and why the result gets 6.
27th Jul 2017, 4:40 PM
niccoob _
niccoob _ - avatar
+ 1
Can you post the code of the example. I do not understand your question yet but I think it is a good question.
28th Jul 2017, 9:06 PM
sneeze
sneeze - avatar
- 1
do you mean like public func(string mystr, int i = null) ? as in why it's set up that way?
27th Jul 2017, 4:21 PM
Christian
Christian - avatar