How can you prevent your class to be inherated further
Answer / kirti
By setting Sealed - Key word
public sealed class Planet
{
//code goes here
}
class Moon:Planet
{
//Not allowed as base class is sealed
}
| Is This Answer Correct ? | 0 Yes | 0 No |
What is RouteConfig.cs in ASP.Net MVC 4?
sql related question (outer join, left, right etc) array vs hashtable CRL sqldatareader vs dataset what is WPF, WCF, compare to WinForms Webservices Asp.net MVC vs WebForms?
Can you explain renderbody and renderpage in asp.net mvc?
Who defines the CAS code groups
What is reflection?
5 Answers Accenture, Merrill Lynch, Microsoft,
What are attributes
What is the use of dataadapter ?
Can I look at the IL for an assembly
What is a view engine?
Why we need a separate mobile project template, while we can render our web application in mobile ?
what is .edmx file and what it contains?
Can u tell me differences which are introduced in .Net 1.1 and 2.0 and 3.0 and also in 3.5 ? by detailed?