C# default constructor access modifier

8
25



What is the Access Modifier of the default parameter-less constructor in C#

Answer : Public

C# Interview Questions – All Text Articles & Slides

Text version of the video

Slides

C# Interview Questions Playlist

Angular, JavaScript, jQuery, Dot Net & SQL Playlists

Nguồn:https://wijstaanvooronzegrondrechten.org/

8 COMMENTS

  1. Note: The access modifier of the default constructor is public . BUT if you create a constructor of your own then the default access modifier is private.

LEAVE A REPLY

Please enter your comment!
Please enter your name here