F
Frank Rizzo
Does c# support optional parameters in function declarations?
Does it support assignment of default values to arguments, in particular
optional parameters?
If so, can someone point me to or provide an example.
For instance in vb6, you could do the following:
function DoStuff(optional ID as integer = 10, optional Name as string =
"test")
....
end function
Does it support assignment of default values to arguments, in particular
optional parameters?
If so, can someone point me to or provide an example.
For instance in vb6, you could do the following:
function DoStuff(optional ID as integer = 10, optional Name as string =
"test")
....
end function