Recent Answers
What is difference between string and stringbuilder?
Vinit Kumar answered: string -the object of this class are immutable i.e. we can not change any character that is c....
How Just in Time Compiler Works?
Johndecruse answered: When you execute the program, i.e. the intermediate code, the Just-In-Time (JIT) compiler com....
If I have an external aspx page? How do u integrate with existing sharepoint site? I want to publish it over t....
Satyen Kasturi answered: what you want is to use Application pages. These are located in Layouts directory. Within ....
where are the different file to content query webpart? To design a page?
uday answered: content query webpart displays a dynamic view of sites ,pages
have worked in BDC?
Mike answered: BDC stands for Business Data Catalog. It is a new feature introduced in Microsoft Office SharePoint ....
How do I connect database and infopath in sharepoint?
jiten_keswani answered: \\.\pipe\mssql$microsoft## ssee\sql\query (for Sharepoint 2007) or \\.\pipe\mssql$sharepoin....
What's new in .Net Framework 3.0?
Daniel answered: Visual Studio 2008 and the .NET Framework 3.5 enable developers to rapidly create connected applic....
What's new in .Net Framework 3.0?
resumedocket answered: WPF provides new features for making more interesting, effective, and dynamic user interface....
What is "out" keyword in C#?
Johndecruse answered: “out Keyword” in C#.out keyword is used for passing a variable for output purpose. It has sam....
What is a SharePoint Site Collection and how can we create it?
resumedocket answered: To create a SharePoint site, you must be a member of a site group that has the Create Subsit....
123456789
C# Interview Questions and Answers
C# : Can we have a variables inside the interface?

Can we have a variables inside the interface?

No, we can have only methods, properties, indexers and enums inside the interface.
Category: C# Date: 7/3/2010 1:54:37 PM
C# : What is static class and what is use of this?

What is static class and what is use of this?

Static class we define when we do not want to create a object of class, all methods of static class ....
Category: C# Date: 7/3/2010 1:54:06 PM
C# : What are the properties of abstract class?

What are the properties of abstract class?

1. Abstract class can contain the prototype of method and/or implementation of methods. 2. Direct o....
Category: C# Date: 7/3/2010 1:50:28 PM
C# : How is a read-only property defined in C#?

How is a read-only property defined in C#?

public returntype PropertyName { get { //property implementation goes here } // Do not write the se....
Category: C# Date: 2/5/2010 1:51:32 PM
C# : How would you implement inheritance using VB.NET/C#?

How would you implement inheritance using VB.NET/C#?

When we set out to implement a class using inheritance, we must first start with an existing class f....
Category: C# Date: 2/5/2010 1:49:08 PM
C# : How does VB.NET/C# achieve polymorphism?

How does VB.NET/C# achieve polymorphism?

By using Abstract classes/functions.
Category: C# Date: 2/5/2010 1:47:04 PM
C# : What is "out" keyword in C#?

What is "out" keyword in C#?

The "out" keyword causes arguments to be passed by reference. This is similar to the ref k....
Category: C# Date: 12/5/2009 12:09:31 AM
C# : What is the difference between Close() and Dispose() methods in C#?

What is the difference between Close() and Dispose() methods in C#?

The main difference between Close() and Dispose() method is, when Close() method is called, any mana....
Category: C# Date: 12/4/2009 11:14:47 PM
C# : Does C# support multiple inheritance?

Does C# support multiple inheritance?

C# does not support multiple inheritance. But C# allows to implement multiple inheritence using inte....
Category: C# Date: 11/30/2009 2:36:09 PM
C# : Explain the difference between override and new in C#?

Explain the difference between override and new in C#?

When a virtual method is called on an object reference, the actual type of that object is used to de....
Category: C# Date: 11/30/2009 4:45:28 AM
C# : What is the scope of a class member declared as protected?

What is the scope of a class member declared as protected?

Class member declared as protected can be accessed either only within the same class or within the c....
Category: C# Date: 10/30/2009 7:03:34 AM
C# : How do you mark a method obsolete in C#?

How do you mark a method obsolete in C#?

[Obsolete] public int MethodName() {...} OR [Obsolete(\"This is a message describing why this....
Category: C# Date: 10/30/2009 6:54:21 AM
C# : Is it possible to override private virtual methods?

Is it possible to override private virtual methods?

It's not possible to declare a method as 'private virtual'. So overriding private virtual method doe....
Category: C# Date: 10/28/2009 5:36:41 AM
C# : What is the use of "fixed" statement in C#?

What is the use of "fixed" statement in C#?

The "fixed" statement prevents the garbage collector from relocating a movable variable. T....
Category: C# Date: 10/28/2009 5:25:18 AM
C# : Will finally block get executed if the exception had not occurred?
2