I have taken a windows application and a button control in it.I want to declare a variable as a sealed and use that variable with in same class as we cannot use in other class. class test {
Latest Answer: Classes can only be sealed. Methods, Properties, and variables cannot be sealed. ...
Abstract classes can be overridden by virtual methods (true, false)
Latest Answer: It is designed to act as derived class. the class , which contain more virtual function is called an abstract class. and it cannot be create as an object, and it is similar to Interface ...
Latest Answer: Side-by-side execution is the ability to install multiple versions of code so that an application can choose which version of the common language runtime or of a component it uses. Subsequent installations of other versions of the runtime, an application, ...
Latest Answer: Global Pointer Example Program The following walkthrough will illustrate a simple example of global pointers. There are actually two seperate source code files involved, since, in this example, we are going to be executing ...
The following code fails. Why? int a = 5; int b = 5; object oa = a; object ob = b; Debug.Assert(oa == ob, "oa is not equal ob");
Latest Answer: Just right click on the .cs file and select the option view class diagram.A diagram file .cd will be generated.Further u can add method to the .cd file and extract interface etc from it. ...
Latest Answer: false in c# ...
Latest Answer: multiple delegates and multicast delegates both are diffrent terms with diffrent aspects.delegate having one property that it could have multiple delegates in it.it means single delegates contain multiple delegates definition whilein other case multicast ...
Latest Answer: Aliases can be useful in the case if you are using a lenthy namespace.You can create an aliase for namespace and can acess its classes via alias.On the negative side it can cause some conflicts if you declare any class with same name in that scope.But ...
View page << Previous 1 2 3 [4] 5 6 7 8 9 10 Next >>

Go Top