Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain the use of virtual, sealed, override, and abstract method?

833


How do I run managed code in a process?

960


If multiple interfaces are inherited and they have conflicting method names; What will happen ?

901


Which is faster array or arraylist in c#?

853


What is static classes?

907


What is object type in c#?

908


Difference between Value type & reference types ? and give the example in .Net?

879


What is the usage of OLE?

954


Why do we use overloading in c#?

930


What is tryparse c#?

891


What is executereader in c#?

856


How can I develop an application that automatically updates itself from the web?

842


What are destructors in C#?

1462


How does the lifecycle of Windows services differ from Standard EXE?

961


What is the difference between dynamic and var in c#?

877