Pages

Dot Net interview questions


Dot Net Framework
What is the difference between private and shared assembly
Accessibility by applications.
Shared assembly has to be Strong Named, have version and culture.
Installed in GAC.

What does Reflection do?
Runtime type discovery
Load Assemblies
Dynamic Invocation

What is an "IS" operator?
Equiv of Type

I PC
lWhich one of the following correctly initializes the ThreadStart object myStart?
1 ThreadStart myStart = new ThreadStart();
2 ThreadStart myStart = new ThreadStart(myThread);
3 ThreadStart myStart = new ThreadStart(DoSomething());
4 ThreadStart myStart = new ThreadStart(DoSomething);
5 ThreadStart myStart = new ThreadStart(this);

lHow to achive synchronization in .NET?
lUsing lock(object) statement for the critical section.
l
l
l

What is Thread Pool?
lCollection of threads

lWhy\how to do multithreading?
oTo compute operations in parellel.
o
o By acquiring threads from ThreadPool class.

When you call the Thread.Start method on a thread, will it start immediately?
That thread does not start executing until the current thread yields or is preempted by the operating system



No comments:

Post a Comment