Can a structure inherit a class.

Answer Posted / a b

A structure cannot inherit from a class but it can
implement an interface.

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the usage of Enumeration in C# Programming and is it good to use or not ?

561


How to Show Message box in Metro Style App?

569


In C#, explain the difference between overloading and overriding.

564


What is the difference between “finalize” and “finally” methods in c#?

473


Why does my windows application pop up a console window every time I run it?

526






Define c# and list the features.

538


What is the use of convert toint32 in c#?

528


What are the types of comments in c#?

547


Can an exception be thrown from a catch block?

572


Explain the role of the datareader class in ado.net connections?

470


What is a function c#?

493


What is the difference between virtual method and abstract method?

547


Does c# support try-catch-finally blocks?

480


Is c# difficult to learn?

487


Explain about Oops concept

552