Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

optional arguments c#

public void ExampleMethod(int required,
                          string optionalstr = "default string",
    				      int optionalint = 10)
Source by www.c-sharpcorner.com #
 
PREVIOUS NEXT
Tagged: #optional #arguments
ADD COMMENT
Topic
Name
3+1 =