DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
C# optional arguments
public
void
SomeMethod
(
int
a
,
int
b
=
0
)
{
/*some code*/
}
Source by www.c-sharpcorner.com #
PREVIOUS
NEXT
Tagged:
#optional
#arguments
ADD COMMENT
Topic
COMMENT
Name
8+2 =
Submit