C# Tips

Today's C# Quiz

Quiz

The following code shows C# class constructor A(). What is wrong?

class A {
private int _id;
public int A() {
_id = 0;
}
}

Constructor name
Parameter
Return type
Assignment

Tip

Answer