1.

In C#, What Will Happen If You Do Not Explicitly Provide A Constructor For A Class?

Answer»

If you do not provide a constructor EXPLICITLY for your CLASS, C# will create one by default that instantiates the OBJECT and sets all the member variables to their default VALUES.

If you do not provide a constructor explicitly for your class, C# will create one by default that instantiates the object and sets all the member variables to their default values.



Discussion

No Comment Found