what is a constructor?
Answer Posted / ranjith
Constructor is a method which will be executed when an
object is created. It is used to Intialize the
object.constructors has the same name as the class
name.constructors will take parameters.constructors doesnot
return any value
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is data type in c# with example?
Is c# a backend language?
What is private constructor c#?
Is static class thread safe in c#?
How do you implement thread synchronization in c#?
List down the access modifiers available in c#?
Can a struct inherit from another struct or class in c#?
What is object array in c#?
What is parallel foreach in c#?
Explain the different types of delegates used in c#.
write a program to find the biggest palindrome in the given string
What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
Why do we need generics in c#?
Describe the difference between inline and code behind - which is best?
What does dbml stand for?