Can a class inherit structure.

Answer Posted / ankita

Structures are not inheritable by classes b'coz a structure
is used to create our own data types (user defined data types).

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me the difference between call by value and call by reference.

757


what is IFormatable

784


Can we override interface methods in c#?

664


In c#, what will happen if you do not explicitly provide a constructor for a class?

756


What is the difference between “constant” and “readonly” variables in c#?

754


What is lazy in c#?

686


Is vs as c#?

716


What is string interpolation in c#?

739


You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?

747


What’s thread.sleep() in threading ?

746


Differentiate between dataset and datareader?

749


How do I trim a space in c#?

664


Is c# good for games?

666


What are the Features in .net framework 1.1

761


What will be the output of the following code?

716