Can a class inherit structure.

Answer Posted / shadab

Actually Sturcture are internally declared as sealed that's
the reason a class can't inherit it...

for more information go url

http://www.shadab-programminghelp.blogspot.com

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are custom exceptions? Why do we need them?

594


What are the advantages of constructor?

525


What is a collection in c#?

593


What are classes in c#?

665


What is difference between asp net and c# net?

572






To catch any possible exception What is the C# syntax written ?

615


What is sqldataadapter in c#?

569


What is the use of console application in c#?

563


What is difference between overloading and short circuiting?

559


Why do we use public static void main in c#?

549


What is the do while loop code?

576


Can a child class call the constructor of a base class?

627


How do you create partial methods?

628


can you create a function in c# which can accept varying number of arguments

680


What is call back method?

593