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 / raj

Boxing: Implicitly converting value type to object type

Eg: int i=1;
object obj=i;

UnBoxing:Explicitly Converting object type to value type

Eg: int j=(int) obj;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we have 2 main methods in c#?

962


What is readline c#?

953


What is regex replace in c#?

1080


If dll and exe files are same it means you can deploy both the files in gac?

993


Name the two classes are required for implementing a windows service?

1099


write a c# program add two matrix with input number ?

1018


What are jump statements in c#?

1038


What is Asynchronous call and how it can be implemented using delegates?

1076


Can we call server-side code (c# or vb.net code) from javascript?

992


What are Regex / regular expressions ?

1166


What is console writeline in c#?

937


Explain the process of polymorphism with an example?

976


Which control cannot be placed in mdi?

1042


What is a property in c#?

980


Why do we need oops in c#?

998