Can a class inherit structure.

Answer Posted / ajay

structure are not inherited.Because structure are valutype
and class is reference type.

Is This Answer Correct ?    15 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is interpolation in programming?

486


What is generic delegate in c#?

452


How do I enforce const correctness in c#?

528


How to parse a date time string?

533


What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?

494






Which is faster array or arraylist in c#?

477


What is the process of delegation?

489


Write a program in c# to find the angle between the hours and minutes in a clock?

482


Why we use get set property in c#?

470


What is hierarchical inheritance in c#?

481


What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?

519


What is a hash table c#?

468


Are c# destructors the same as c++ destructors?

556


Explain what is copy constructor?

547


What is the use of expression tree in c#?

474