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. |