Question: Given the following method definition, what would be a valid call? The variable someIntValue is defined as an int. static int GetData(out int aValue, ref
Given the following method definition, what would be a valid call? The variable someIntValue is defined as an int.
static int GetData(out int aValue, ref int bValue)
a. someIntValue = GetData(aValue, bValue);
b. someIntValue = GetData(out aValue, ref bValue);
c. someIntValue = GetData(out, ref);
d. someIntValue = GetData(int out aValue, int ref bValue);
e. GetData(out aValue, ref bValue);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
