Login with username, password and session length
Resend Activation Email | Forgot your Password?
Join IT Acumens Discussion Zone Free!
Share this topic on FacebookShare this topic on MySpaceShare this topic on Del.icio.usShare this topic on DiggShare this topic on RedditShare this topic on StumbleUponShare this topic on TwitterShare this topic on TechnoratiShare this topic on MagnoliaShare this topic on GoogleShare this topic on Yahoo

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: .NET Assembly Interview Questions  (Read 257 times)

Online Cognitive

  • Kalyana Raman
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11792
  • Building Acumen's
    • View Profile
    • IT Acumens
.NET Assembly Interview Questions
« on: March 15, 2008, 10:10:08 AM »
.NET Assembly Interview Questions

How is the DLL Hell problem solved in .NET?
Assembly versioning allows the application to specify not only the library it needs to run (which was available under Win32), but also the version of the assembly.

What are the ways to deploy an assembly?
An MSI installer, a CAB archive, and XCOPY command.

What is a satellite assembly?
When you write a multilingual or multi-cultural application in .NET, and want to distribute the core application separately from the localized modules, the localized assemblies that modify the core application are called satellite assemblies.

What namespaces are necessary to create a localized application?

System.Globalization and System.Resources.

What is the smallest unit of execution in .NET?
an Assembly.

When should you call the garbage collector in .NET?

As a good rule, you should not call the garbage collector. However, you could call the garbage collector when you are done using a large object (or set of objects) to force the garbage collector to dispose of those very large objects from memory. However, this is usually not a good practice.

How do you convert a value-type to a reference-type?
Use Boxing.

What happens in memory when you Box and Unbox a value-type?
Boxing converts a value-type to a reference-type, thus storing the object on the heap. Unboxing converts a reference-type to a value-type, thus storing the value on the stack.
Thanks & Regards:-
Kalyanaraman
kalyanaraman@itacumens.com
www.itacumens.com
SMS SUPPORT to 95662 95662

Personnel Blog : www.kalyan.itacumens.com



 

Related Topics

  Subject / Started by Replies Last post
0 Replies
859 Views
Last post February 22, 2008, 05:32:54 PM
by Cognitive
0 Replies
173 Views
Last post April 06, 2008, 04:44:32 PM
by Cognitive
0 Replies
127 Views
Last post July 15, 2008, 09:01:01 PM
by nandagopal
0 Replies
127 Views
Last post July 31, 2008, 10:28:26 AM
by Cognitive
0 Replies
149 Views
Last post August 14, 2008, 08:39:35 PM
by VelMurugan