Given the following method definition, what would be a valid call? The variable someIntValue is defined as

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 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);

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: