ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  C Sharp
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
Hi to everybody. Lastweek i had taken an interview on c#.
They ask what is boxing & unboxing, Masking.Please tell the 
answer and it is useful for me.
 Question Submitted By :: Jaishankar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Hi to everybody. Lastweek i had taken an interview on c#. They ask what is boxing & unboxing, Masking.Please tell the answer and it is useful for me.
Answer
# 1
Boxing:converting from value types to reference type is
known as boxing.
Unboxing:Converting from reference types to value type is
known as unboxing.
 
Is This Answer Correct ?    2 Yes 0 No
Saubhagya
 
  Re: Hi to everybody. Lastweek i had taken an interview on c#. They ask what is boxing & unboxing, Masking.Please tell the answer and it is useful for me.
Answer
# 2
class Test
{
  static void Main()
  {
   int i = 1;
   object o = i;    // boxing
   int j = (int) o; // unboxing
  }
}
 
Is This Answer Correct ?    1 Yes 0 No
Mr. D
 
 
 

 
 
 
Other C Sharp Interview Questions
 
  Question Asked @ Answers
 
7. C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?  1
How does a function pointer returns a function pointer? Wipro3
What?s the implicit name of the parameter that gets passed into the class? set method? Visual-Soft2
Can we write one page in c# and other in vb in one application ? Keane-India-Ltd3
Can u create multiple threads of execution ? IBM1
What?s the difference between an interface and abstract class? Mind-Tree4
Why can?t you specify the accessibility modifier for methods inside the interface?  4
Can we inherit a private class in chsarp? how? explain(with code) ? Techno-Labs3
Difference between imperative and interrogative code? Wipro1
Is string reference type / value type ? Accenture7
What is the Difference between value and reference type? Wipro7
Can you store multiple data types in System.Array?  6
What is early binding and late binding TATA5
What?s the difference between System.String and System.StringBuilder classes?  4
How many catch blocks can be there for a single try block? HCL2
What does assert() do?  1
what is serilization? Protech5
What is shared inheritance IGT3
Where is the output of TextWriterTraceListener redirected?  1
What?s the data provider name to connect to Access database?  5
 
For more C Sharp Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com