A
Q. Choose the correct type of variable scope for the following C# defined variables.
Code:
class ABC
{
static int m;
int n;
void fun (int x , ref int y, out int z, int[] a)
{
int j = 10;
}
}
{
static int m;
int n;
void fun (int x , ref int y, out int z, int[] a)
{
int j = 10;
}
}
- Correct Answer - Option(B)
- Views: 23
- Filed under category C# (C Sharp)
- Hashtags:
Discusssion
Login to discuss.