struct ValType
{
public int data;
public static void Main ()
{
ValType v = new ValType ();
Console.WriteLine (v.data);
}
}
- Compilation error
- Error running
- xrmh: 0
- Other results
C # is an object-oriented programming language developed by Microsoft, the start of their .NET plan. Please invite the Network Administrator to learn about this topic through the quiz below.
struct ValType
{
public int data;
public static void Main ()
{
ValType v = new ValType ();
Console.WriteLine (v.data);
}
}
struct ValType
{
public int data;
public ValType (int i)
{
data = i;
}
public static void Main ()
{
ValType v = new ValType ();
Console.WriteLine (v.data);
}
}