D
deko
In VB, I could do this:
MyFuncrion(this As String, that As Integer, Optional otherThing As Boolean)
do stuff here
End Function
In C#, I can use "out" to return multiple values from a method, and "params"
to send in an array, but is it possible to have optional parameters? How do
I do this in C#?
Thanks in advance.
MyFuncrion(this As String, that As Integer, Optional otherThing As Boolean)
do stuff here
End Function
In C#, I can use "out" to return multiple values from a method, and "params"
to send in an array, but is it possible to have optional parameters? How do
I do this in C#?
Thanks in advance.