Does C# support static class?Is Static class be inherited by
any class?

Answers were Sorted based on User's Feedback



Does C# support static class?Is Static class be inherited by any class?..

Answer / balamurugan

Static class cannot create any objects

Static class can have only private constructors

static class can contain only static members

Static loads automatically when the clr loads the namespace
of the class.

Is This Answer Correct ?    19 Yes 1 No

Does C# support static class?Is Static class be inherited by any class?..

Answer / hitesh

Yes it supports static class and it can be inherited by
other class but only by using classes and not through
objects

Is This Answer Correct ?    5 Yes 15 No

Post New Answer

More ASP.NET Interview Questions

What are the disadvantages of viewstate/what are the benefits

3 Answers  


What I need to create and run an asp.net application?

0 Answers  


What is autopostback in dropdownlist in asp net?

0 Answers  


How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?

1 Answers   MMTS,


can we pass coditions in swtich case?

3 Answers  






In C#.net application is run on linux michine

4 Answers  


is it possible to set more than web.config file for an ASP.net APPLICATION?can it run?how is it possible

3 Answers  


What are the objects of ASP.NET ?

6 Answers  


Can asp.net work on an nt server?

0 Answers  


Explain diff between dataset and datareader?

0 Answers  


Is it possible to apply themes to an asp.net application? If yes, then how?

0 Answers  


What are httphandlers and httpmodules and difference between them?

0 Answers  


Categories