Latest Answer: User abstract modifier on method.Class must also be marked as abstract.An abstract method cannot have implementation. ...
string.Equals("string number 1", "String NUMBER 1", StringComparison.CurrentCultureIgnoreCase) There is also a similar override of String.Compare().
Latest Answer: all things in above sample are right bt one correction is there.there should be OrdinalIgnoreCase instead of OriginalIgnoreCase.... ...
Latest Answer: tag.usage :/// /// string usage array class./// public class teststring{public string s; }when we create the object for teststring class or browse through the class explorer through intellisense we can see ...
This is interview question,public void A() { int x; x = 8; x *= 4 + 8 / 2; } Given the above code, what is the value of "x"?options:- A) 3 B) 2 C)4 D)
Latest Answer: Answer is 64 ...
what is the importance of inheritance in c# and why i used?
Latest Answer: Classes are inherit from another class. Basically we are using OOPS for reusability, so inhertiance means deriving new class from base class, it occupies less memory. ...
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");
View page << Previous 1 2 3 [4] 5 6 7 8 9 10 Next >>

Go Top