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

how to get the vb6.0 COM Component in to the .Net application?

3 Answers   iSoft,


what is narmalization

4 Answers   Wipro,


What are the advantages and disadvantages of viewstate ?

1 Answers  


How do you do validations. Whether client-side or server-side validations are better.?

5 Answers   Microsoft,


What is machine.config and web.config ?

5 Answers   Digital GlobalSoft,


Define globalization and localization.

0 Answers  


there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?

1 Answers  


what is client back feauture ?

1 Answers  


What is AutoEventWireup attribute for ?

0 Answers  


what is Satellite Assembly?

2 Answers  


What?s the difference between Response.Write() andResponse.Output.Write()?

2 Answers  


How to implement role based security in asp.net mvc? : Asp.Net MVC

0 Answers  


Categories