Is there any way by which a class is made sealed as in C# that other class cannot inherit from it. Please include code.
override id used for variables and methods but override only used for methods.
Latest Answer: The best way, in my opinion, to understand the true meaning of the effects of using the "new" modifier in a virtual hierarchy is to think of it like this... The runtime wants to start at the top of the virtual hierarchy and work towards the ...
You have an event handler called MyEvent and you want to link the click event of control, MyButton, to use MyEvent, what is the code that will like them together?
Latest Answer: System.ApplicationExeption ...
Latest Answer: The call stack ...
Latest Answer: Auto, Local, Watch ...
Latest Answer: wrapper class are those class in which we can not define and call all predefined function .it is possible in java not C#. ...
Latest Answer: Hi, A class contain different access modifier. The Protected and Protected Internal are two access modifier..Protected ; can only access with in the base class and also accessible from the derive class.Protected Internal ; can only access with in base ...
Latest Answer: By using "sealed" keyword we can restrict a class from inheritence. Please reply me if it is wrong! ...
Latest Answer: We can create an instance of an abstract class.The below code is not working:sayHello is an abstract classObject o=System.Activator.CreateInstance(typeof(sayhello)); ...
View page << Previous 5 6 7 8 [9] 10 11 12 13 14 Next >>

Go Top