R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is the default return type of a constructor in C#?

  • (A) void
  • (B) object
  • (C) class type
  • (D) none

Explanation by: Ram Sharma
Constructors return the class type instance, even though you don't explicitly declare a return type.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.