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

Are xaml file compiled or built on runtime?

0 Answers  


Explain how can you debug your .net application?

0 Answers  


How to disable SOAP1.2 in Web Services?

1 Answers  


How do you perform validations?

3 Answers   Microsoft,


With example & diagram explain AutoPostBack.

2 Answers  






What is state management in asp.net with example?

0 Answers  


What is asp.net caching?

0 Answers  


What is another word for redirect?

0 Answers  


Why do we need master page in asp.net?

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  


after which page life cycle event all properties of control will be "fully loaded "

10 Answers   FactorH,


What is different between webconfig.xml & Machineconfig.xml ?

1 Answers  


Categories