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 / mr. d
class Test
{
static void Main()
{
int i = 1;
object o = i; // boxing
int j = (int) o; // unboxing
}
}
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
List some Advantages of switch-case over if else?
What are the two kinds of properties in c#.
what is main function of alternate teamplate of datalist?
Can you inherit from multiple classes in c#?
What does firstordefault mean in c#?
Explain the differences between static, void and public in c#?
How do I create a multilanguage?
Explain what are three test cases you should go through in unit testing?
What is the difference between a variable and a literal?
What is namespace explain with example?
What is difference between constants and read-only?
Why do we use hashtable in c#?
Is comparator a functional interface?
What is data quality assurance?
Explain a MSIL ? Why is it appreciated by all developers?