Mid OOP

Can constructors be overloaded?

  • Yes, constructors can have multiple signatures in the same class.

class Car

public Car() { }

public Car(string model) { }

More from C# Programming Tutorial

All questions for this course