-
Object Oriented and Object Based Language
Explain What are Object Oriented Language and Object Based Language
-
Why multiple Inheritance is not possible in C#?
(Please do not answer like this-It is possible through Interfaces.)
-
Second maximum number
how to find out second maximum number in C#?
-
Find subString in String
Hi All,
I have written the below program to find the substring in the string. in case one word coming multiple time how to handle this situation ? the below program retuning -1 as position which is wrong.
cInput ("abhijit" , "jit")
public int FindSubString(string strSuper, string strSub)
{
char[] charSuper = strSuper.ToCharArray();
... -
-
What is the difference between an interface and abstract class?
In the interface all methods must be abstract; in the abstract class some methods can be concrete. In the interface no accessibility modifiers are allowed, which is ok in abstract classes.
-
How do I create a Delegate/MulticastDelegate?
C# requires only a single parameter for delegates: the method address. Unlike other languages, where the programmer must specify an object reference and the method to invoke, C# can infer both pieces of information by just specifying the method's name. For example, let's use System.Threading.ThreadStart: Foo MyFoo = new Foo();ThreadStart del = new ThreadStart(MyFoo.Baz);This means that delegates can...
-
Multicast Delegate
What is multicast delegate? When it is used?
-
-
-
Advantage of avl tree over binary search tree.
What is advantage using avl tree instead of using binary search tree ?
-
Debug C# Web Application
How to debug C# Web Application?
-
Which of the following is the correct way to instantiate an object in C#:
Skill/Topic: BeginnerA) objThis = System.CreateObject( ThisObject);B) objThis = new ThisObject();
-
WCF WebService and Rest WebService
What is extension of file? What is WCF Webservice? How to call Webservice? How to call method of WebService? What is rest WebServices?
-
CLR
How does a CLR work?
-
-
Are private class-level variables inherited?
Yes, but they are not accessible, so looking at it you can honestly say that they are not inherited. But they are.
-
C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?
Two. Once you write at least one constructor, C# cancels the freebie constructor, and now you have to write one yourself, even if there's no implementation in it.
-
-
Divide Two Numbers Without Using Division and Modulus Operator
Write C# code to divide two numbers without using the division and modulus operator
C# Interview Questions
Ans