Which is not a type of constructor in C#?

75. Which is not a type of constructor in C#?

  1. Static Constructor
  2. Private Constructor
  3. Body Constructor
  4. Parameterized Constructor

Answer: C) Body Constructor

Explanation:

There are basically 5 types of the constructors in C#, they are:

  • Static constructor
  • Private constructor
  • Copy constructor
  • Default constructor
  • Parameterized constructor

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.