Software job search
.net sql interview questions
  The best place for technical interview questions

Home.netSql serverAsp.netC#Vb.netAdo.netAjaxMcpd dumpsWord count tool
.net interview questions
Question 25   What are value types and reference types

A value type stores the values in its own memory location where as a reference type stores a pointer to another memory location where the memory is actually stored. value type variables are stored in a stack and reference type variables are stored in a heap.

examples of value type –
boolean, numeric data types like int, long etc., char, structures, enumerations
examples of reference type –
string, arrays, class, delegates

Question 26   What is boxing and unboxing

The process of converting a value type to reference type is known as boxing and the process of converting a reference type to value type is known as unboxing.

the below code illiterates boxing and unboxing

int ivaluetype = 10;
object oreferencetype = ivaluetype; //boxing
ivaluetype = (int) oreferencetype; //unboxing

Question 27   What is the difference between system exceptions and application

System exceptions - exceptions which are thrown by the clr are known as system exceptions. examples like stackoverflowexception, dividebyzeroexception etc.

application exceptions - user defined exceptions are known as application exceptions. they are derived from ystem.applicationexception. example

throw new applicationexception(“age should not be less than zero”)

Question 28   What is code access security

Code access security (cas) –cas is the security model in .net which ensures whether a piece of code has the right permissions to access a resource or not. cas prevents the execution of an untrusted code in a .net environment

Question 29   What is a satellite assembly

Suppose you are developing an application which should display labels in japanese for a japanese user and in english for a uk user. in order to create language-specific or multi-lingual applications we create satellite assembly. a specific language will be displayed when we set the locale.

Question 30   How to prevent my .net dll to be decompiled

By default a .net compiled code (msil) can be easily decompiled to its source code. in order to prevent this reverse engineering we use a process called obfuscation. dotfuscator communityedition is an obfuscation solution provided by microsoft

 Rate this page
 15 votes , average 4 out of 5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 

Reader's opinions -

No comments

.net interview questions interview questions
C# interview questions interview questions interview questions
Ajax interview questions
Wcf interview questions
Wpf interview questions
.net threading interview questions
.net remoting and webservices interview questions
.net caching interview questions
.net oops interview questions
Sharepoint interview questions
Jquery interview questions
Silverlight interview questions
Linq interview questions
Wwf interview questions
Java interview questions
Sql server interview questions
Ssis interview questions
Ssrs interview questions
Data warehousing interview questions
Data mining interview questions
Oracle interview questions
Php interview questions
Design patterns interview questions
Uml interview questions
Mcpd dumps
Pmp practice tests

This site is best viewed with Internet Explorer 7.0 or higher, Firefox 2.0 or higher, Chrome at a minimum screen resolution of 1024x768.
A complete solution to interview questions
free matrimonial website      
web hosting plans |  compare vps hosting plans |  Compare dedicated hosting plans |  Compare linux hosting plans |  Compare cloud hosting plans |  Compare windows hosting plans | 
Hosting reviews |  GoDaddy reviews | 
Support Wikipedia
IWC's "Little Prince" series has swiss replica watches always been a very rolex replica watches popular watch series. Its highly recognized and very attractive blue dial and the replica rolex watches story of the "Little Prince" have made this watch a highly watchful replica watches companion favorite.