Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
c Sharp Interview Question Part1

c Sharp Interview Question Part1

Ratings: (0)|Views: 182 |Likes:
Published by api-3833767

More info:

Published by: api-3833767 on Oct 18, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

DOT NET Interview Questions
By:- Shivprasad koirala
Mail:- shiv_koirala@yahoo.com
http://www
Happy job hunting.......................................
By:- Shivprasad koirala
Mail:- shiv_koirala@yahoo.com
(According to latest VS.NET 2005 whidbey)
BetaRelease
1.0
(Including SQL ServerUML,Architecture,Project
Management and General Interview Questions)
http://www.geocities.com/shiv_koirala/
Happy job hunting.......................................
Contents
Beta Release 1.0............................................................................. 3
eta Release 1.0............................................................
ta Release 1.0...........................................................
roduction.................................................................
ware Company hierarchy..................................................................................
asic .NET Framework..........................................
Release 1.0...............................................................
oduction.....................................................................
re Company hierarchy.........................................................................................
sic .NET Framework..............................................
s a IL?..................................................................................................................
- What is MSIL or CIL , What is JIT?.................................................................

s a CLR?.............................................................................................................. s a CTS?............................................................................................................... s a CLS(Common Language Specification)?....................................................... s a Managed Code?.............................................................................................. s a Assembly ?.................................................................................................... re different types of Assembly?........................................................................... s NameSpace?...................................................................................................... s Difference between NameSpace and Assembly?.............................................. want to view a Assembly how to you go about it ?.............................................

Introduction................................................................................. 14
Software Company hierarchy............................................................................................................. 17
1. Basic .NET Framework.......................................................... 20
What is a IL?...................................................................................................................................... 20
Twist :- What is MSIL or CIL , What is JIT?..................................................................................... 20

What is a CLR?........................................................................................................ What is a CTS?.......................................................................................................... What is a CLS(Common Language Specification)?................................................. What is a Managed Code?......................................................................................... What is a Assembly ?............................................................................................... What are different types of Assembly?..................................................................... What is NameSpace?................................................................................................ What is Difference between NameSpace and Assembly?........................................ If you want to view a Assembly how to you go about it ?........................................

Twist : What is ILDASM ?........................................................................................

What is Manifest?..................................................................................................... Where is version information stored of a assembly ?................................................ Is versioning applicable to private assemblies?........................................................ What is GAC ?...........................................................................................................

Twist :- What are situations when you register .NET assembly in GAC ?...............
What is concept of strong names ?............................................................................

Twist :- How do we generate strong names or what is the process of generating st is use of SN.EXE , How do we apply strong names to assembly ? , How do you ?..........................................................................................................................

How to add and remove a assembly from GAC?.....................................................
What is a CLR?.................................................................................................................................. 20
What is a CTS?................................................................................................................................... 20

hat is a CTS?............................................................................................... hat is a CLS(Common Language Specification)?...................................... hat is a Managed Code?.............................................................................. hat is a Assembly ?.................................................................................... hat are different types of Assembly?..........................................................

What is a CLS(Common Language Specification)?........................................................................... 21 What is a Managed Code?.................................................................................................................. 21 What is a Assembly ?........................................................................................................................ 21 What are different types of Assembly?............................................................................................... 22 What is NameSpace?.......................................................................................................................... 22 What is Difference between NameSpace and Assembly?.................................................................. 22 If you want to view a Assembly how to you go about it ?................................................................. 22

Twist : What is ILDASM ?.................................................................................................................. 22

What is Manifest?............................................................................................................................... 25 Where is version information stored of a assembly ?......................................................................... 26 Is versioning applicable to private assemblies?................................................................................. 26 What is GAC ?.................................................................................................................................... 26

Twist :- What are situations when you register .NET assembly in GAC ?......................................... 26
What is concept of strong names ?..................................................................................................... 26

Twist :- How do we generate strong names or what is the process of generating strong names , What is use of SN.EXE , How do we apply strong names to assembly ? , How do you sign an assembly ?.................................................................................................................................................... 26

is use of SN.EXE , How do we apply strong names to assembly ? , How
?...............................................................................................................

ow to add and remove a assembly from GAC?.......................................... hat is Delay signing ?................................................................................. hat is garbage collection?...........................................................................

How to add and remove a assembly from GAC?............................................................................... 30 What is Delay signing ?...................................................................................................................... 31 What is garbage collection?................................................................................................................ 32 Can we force garbage collector to run ?............................................................................................. 32 What is reflection?.............................................................................................................................. 32 What are different type of JIT ?.......................................................................................................... 33 What are Value types and Reference types ?...................................................................................... 34 What is concept of Boxing and Unboxing ?....................................................................................... 34 What\u2019s difference between VB.NET and C# ?................................................................................... 35 What\u2019s difference between System exceptions and Application exceptions?.................................... 35 What is CODE Access security?........................................................................................................ 36 What is a satellite assembly?.............................................................................................................. 37

2..NET Interoperability.............................................................. 38

The Table of contents is different from what is available in traditional books.So that rather than reading through the whole book just look at what questions you feel uncomfortable and revise that.

How can we use COM Components in .NET?................................................................................. 38
omponents in .NET
...............................
e COM wrapper do
mponents in COM
Twist : What is RCW ?...........................................................................................
Once i have developed the COM wrapper do i have to still register the COM in
How can we use .NET components in COM?......................................................
Twist :- What is CCW (COM callable wrapper) ?, What caution needs to be tak
components is compatible with COM ?..........................................................

How can we make Windows API calls in .NET?.................................................. When we use windows API in .NET is it managed or unmanaged code ?........... What is COM ?...................................................................................................... What is Reference counting in COM ?................................................................. Can you describe IUKNOWN interface in short ?................................................ Can you explain what is DCOM ?........................................................................ How do we create DCOM object in VB6?........................................................... How to implement DTC in .NET ?........................................................................ How many types of Transactions are there in COM + .NET ?............................ How do you do object pooling in .NET ?............................................................. What are types of compatibility in VB6?............................................................. What is equivalent for regsvr32 exe in .NET ?....................................................

3. Threading..............................................................

What is Multi-tasking ?......................................................................................... What is Multi-threading ?..................................................................................... What is a Thread ?................................................................................................ Did VB6 support multi-threading ?....................................................................... Can we have multiple threads in one App domain ?............................................ Which namespace has threading ?........................................................................

Twist : What is RCW ?........................................................................................................................ 38
Once i have developed the COM wrapper do i have to still register the COM in registry?.............. 39
How can we use .NET components in COM?.................................................................................... 39
Twist :- What is CCW (COM callable wrapper) ?, What caution needs to be taken in order that .NET
components is compatible with COM ?........................................................................................ 39

How can we make Windows API calls in .NET?............................................................................... 42 When we use windows API in .NET is it managed or unmanaged code ?......................................... 44 What is COM ?................................................................................................................................... 44 What is Reference counting in COM ?............................................................................................... 44 Can you describe IUKNOWN interface in short ?............................................................................. 44 Can you explain what is DCOM ?...................................................................................................... 45 How do we create DCOM object in VB6?......................................................................................... 46 How to implement DTC in .NET ?..................................................................................................... 46

ow to implement DTC in .NET ?....................................................... ow many types of Transactions are there in COM + .NET ?............ ow do you do object pooling in .NET ?............................................. hat are types of compatibility in VB6?............................................. hat is equivalent for regsvr32 exe in .NET ?....................................

How many types of Transactions are there in COM + .NET ?.......................................................... 48
How do you do object pooling in .NET ?........................................................................................... 49

ject pooling in .NET ?........................................... compatibility in VB6?.......................................... t for regsvr32 exe in .NET ?..................................

g.................................................
king ?......................................................................
What are types of compatibility in VB6?........................................................................................... 50
What is equivalent for regsvr32 exe in .NET ?.................................................................................. 51
3. Threading................................................................................ 52

What is Multi-tasking ?...................................................................................................................... 52 What is Multi-threading ?................................................................................................................... 52 What is a Thread ?.............................................................................................................................. 52 Did VB6 support multi-threading ?.................................................................................................... 52 Can we have multiple threads in one App domain ?.......................................................................... 52 Which namespace has threading ?...................................................................................................... 52 Can you explain in brief how can we implement threading ?............................................................ 52 How can we change priority and what the levels of priority are provided by .NET ?....................... 53 What does Addressof operator do in background ?............................................................................ 54 How can you reference current thread of the method ?...................................................................... 54 What's Thread.Sleep() in threading ?................................................................................................. 54 How can we make a thread sleep for infinite period ?....................................................................... 54 What is Suspend and Resume in Threading ?.................................................................................... 54 What the way to stop a long running thread ?.................................................................................... 55 How do i debug thread ?..................................................................................................................... 55 What's Thread.Join() in threading ?.................................................................................................... 55 What are Daemon thread's and how can a thread be created as Daemon?......................................... 56 When working with shared data in threading how do you implement synchronization ?................. 56 Can we use events with threading ?................................................................................................... 57 How can we know a state of a thread?............................................................................................... 57 what is a monitor object?.................................................................................................................... 57 what are wait handles ?....................................................................................................................... 57

Twist :- What is a mutex object ?........................................................................................................ 58

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->