Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

default parameter c#

public void SomeMethod(int a, int b = 0)
{
   //some code
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #default #parameter
ADD COMMENT
Topic
Name
4+8 =