Congratulations to all monthly winners of May 2013 !!! They have won INR 2900 cash and INR 27497 worth prize.
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 45709 |  Welcome, Guest!   Register  Login
 Home > Interview Questions > .NET Framework Interview Questions

Now you don't need go anywhere to get the best interview questions on Microsoft technology. We are trying to gather all real interview questions asked from MNCs and put them here. You can also assist us in doing so by submitting .net interview questions. These questions are generally different from certification questions however it may help you in that too.



Page copy protected against web site content infringement by Copyscape
Thread Priority can be changed by using Threadname.Priority = ThreadPriority.Highest .

Following are different levels of Priority provided by .NET:-
• ThreadPriority.Highest
• ThreadPriority.AboveNormal
• ThreadPriority.Normal
• ThreadPriority.BelowNormal
• ThreadPriority.Lowest

1. An application pool is a set of one or more websites in IIS served by the worker process.

2. Each application pool has its own worker process.

3. This process isolation prevents processing from interfacing with one another.

You can bind the debug failed assembly by using Assembly Binding Log Viewer (fuslogvw.exe ) and also you can find out the searched paths.

Compiler converts the program from one computer language to another computer language that is translating from a higher level language to a lower level language. A compiler has to cope with any valid syntax in the source language, and generate semantically equivalent code in the target language.

Translator which translate one language to many other language or else we can say a translator is usually translating from a high level language to another high level language, or from a low level language to a high level language. A translator usually has a fixed body of code that is required to translate the program.

These components provides setup program to install or remove them from the system. Suppose the component doesn’t provide a setup program, you can copy it to the server and register it using the MFC RegSvr32.exe utility, as shown below:
RegSvr32 MyComname.dll

Yes we can create,
if there is a web.config file it will take settings from directory level web.config file. if there is no web.config file in application level then it will go for machin.config file for setting.

So we can create web application without web.config file

NOTE: This is objective type question, Please click question title for correct answer.

Graphics class defined by the System.Drawing namespace contains methods
like DrawString, DrawArc, DrawImage, DrawEllipese which are used for implementing
Drawings, shapes, writing strings etc.

Compiler error "Modifier static is not valid for this item"

static variables are declared at Class level.

Yes, a class can be marked as protected but we have to use the concept of nested classes for that .
For a class can be marked as private we have to use the concept of nested classes for that or declare a class in a structure
example: These are valid examples:
class A
{
protected class B
{
}
}

class C
{
private class D
{
}
}
//Class can also be private inside a structure
struct empz
{
private class Class3
{

}
}

It is OK.

If a class is declared below a namespace it cannot be marked as protected or private.

Yes, events return a delegate.

example: delegate void dd();

event dd myevent;

myevent is the event name and returns the delegate dd;

NOTE: This is objective type question, Please click question title for correct answer.

Both interface and an abstract class cannot be instantiated and are implemented
by inheriting them in other classes.

The differences between them are:

1)Interfaces
a)All members are public by default.
b)They cannot contain fields.
c)No coding of the methods or the properties is allowed.
d)They do not provide implementation.
e)Interfaces support multiple inheritance
f)abstract keyword is not there before the interface or its members names.


Abstract classes
a)All members are private by default. We can put modifiers like
public, protected before the abstract class members.
b)They can contain fields.
c) coding of the methods or the properties is allowed.(nonabstract)
we can also declare abstract methods(methods with no coding) and only
the declaration
d)They can provide implementation. An abstract class can implement an
interface
e)Abstract classes support single inherritance
g)abstract keyword is required before their names and also before the
abstract methods or properties.

NOTE: This is objective type question, Please click question title for correct answer.

casting is the technique using which we convert data of one
type to data of another type.
It is like a main category of boxing.

boxing is a sub category of casting which deals with
converting a value type to a reference type.

example:
1) double d=245.66;
//casting: conversion between 2 value types
int a=(int)d;


2) int f=200;

object z=f; //casting as well as boxing: conversion of a value type to a reference type.

Found this useful, bookmark this page link to the blog or social networking websites. Page copy protected against web site content infringement by Copyscape
Navigate to Page: 1 | ... | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | ... | 29 |

 More Exclusive .NET Framework Interview Questions and Answers here


Found interesting? Add this to:


About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 6/20/2013 7:20:04 AM