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 Posted / chandu
Boxing:converting from value types to reference type is
known as boxing.
Unboxing:Converting from reference types to value type is
known as unboxing.
boxing ex: int i=1;
obj o=i;
unboxing ex: int i=1;
obj o=i;
int j=int o;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Name any three ways to pass parameters to a method in c#?
Define strong name in c#?
how to stored and retrive video in Sql server using asp.net c#......?
Is there a way of specifying which block or loop to break out of when working with nested loops?
What is overriding in c#?
Explain the process of inheriting a class into another class?
What is difference between private and protected in c#?
What are the Types of assemblies that can be created in dotnet
What is regex replace in c#?
What is called method in c#?
What is the keyword used to prevent a class from being inherited by another class?
Which of the following operations can you not perform on an ado.net dataset?
Why is c# a good programming language?
Explain the feature of c# language?
Is overriding of a function possible in the same class?