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.
public 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:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285096261
4th Edition
Authors: Barbara Doyle
Question Posted: