Home | Contact Us | Log In | Help
HOME NEW LISTING MOST POPULAR HIGHEST RATED SCRIPTS ADD SCRIPT DOWNLOADS FORUM
Tutorials
  ASP.Net & C#
  ASP
  Perl and PHP
  Java Scripts
  C and C++
  Ajax Tutorials
  J2ee, J2Me, Java
  Python & Ruby Rail
  Crystal Report
  Sap
  CGI
  XML
  Cold Fusion & CFML
  HTML, DHTML & CSS
  Dreamweaver
  FLASH
  Photoshop/Web Designing
  Tools & Utilities
  Oracle/D2K
  Sql Server
  MySql
  Domain Name Registration
  Remotely Hosting
  Web/Server Application
  Hotel Marketing
  Internet and Law
   Search Engine Optimization/SEO
E-Commerce
Interview Questions
Previous < 1 2 3 4 5 6 7 8 > Next
ASP.Net & C# (INTERVIEW QUESTIONS) 5
  What is a delegate?

A delegate object encapsulates a reference to a method.
    A delegate in C# is similar to a function pointer in C or C++. Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object. The delegate object can then be passed to code which can call the referenced method, without having to know at compile time which method will be invoked.

   
  What is a multicast delegate?

A delegate that has multiple handlers assigned to it.  Each assigned handler (method) is called.
  A multicast delegate maintains a list of functions that will all be called when the delegate is invoked. We can add back in the logging function and call both delegates.

 
  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

 

Previous < 1 2 3 4 5 6 7 8 > Next

  Copyright 2000-2006 © SoloScript.com, All rights reserved.