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
Are c# strings null terminated?
What is private and shared assembly?
Is c# and c same?
What is cosole application?
What is token in c#?
What is void method?
Is c# an open source language?
Write the difference between TypeOf and GetType?
What is a int in c#?
What is difference between method and function in c#?
What is property c#?
Can properties be static in c#?
What does namespace mean?
What is the difference between const and readonly in c#.net?
What is dbml file in c#?