240.
using System;
struct MyStruct
{
int x;
int y;
public MyStruct(int i, int j): this(i + j)
{ }
public MyStruct(int i)
{
x = y = i;
}
public void ShowXY()
{
Console.WriteLine("The field values are {0} & {1}", x, y);
}
}
class MyClient
{
public static void Main()
{
MyStruct ms1 = new MyStruct(10, 20);
ms1.ShowXY();
}
}
Whats the outcome
View Description
No description found.