Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# get the return value of a func

Func<int> function;
int returnValue;

function = () => 0;
returnValue = function();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #return #func
ADD COMMENT
Topic
Name
9+8 =