Answer Posted / mayur teli
Basic purpose is to use the defined structure/pattern of common implementation on the child location.
In other word we can say that when multiple people are working on same project if they need to use some common functionality (like initializing variables for their module) instead of writing their own method name(like init(), initialize(), setup()) if we write single method name (lets say init) then this method name can be implemented by any developer who derived....
and use to achieve multiple inheritance.
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Explain the difference between // comments, /* */ comments and /// comments?
What are methods in C#?
What are extension methods and where can we use them?
How is the syntax written to inherit from a class in C#?Give an example ?
Why do we need serialization?
What is null in database?
What is difference between Trace and Debug
Is Multiple-inheritance supported by c#?
What is difference between yielding and sleeping?
Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?
What is binary search tree in data structure?
What is native image generator (ngen.exe)?
Explain metadata in c#.
Explain the difference between user control and custom control. Also, explain their use.
What is data type in c# with example?