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

Boxing:converting the value type into reference type is called as boxing
during boxing typecasting can be done implicitly.
during boxing the values are copied from method stack to managed heap.
Unboxing:
converting the reference type into value type is called as unboxing
during unboxing typecasting can be done explicitly.
during unboxing the values are copied from managed heap to methodstack.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain jagged arrays in c#?

973


What is IL / CIL / MSIL?

1087


What is the c# equivalent of c++ catch (…), which was a catch-all statement for any possible exception? Does c# support try-catch-finally blocks?

890


What's the difference between a method and a procedure?

957


Is string null or empty?

882


Why can't we use a static class instead of singleton?

863


What does using system mean in c#?

996


What are the different types of constructors in c#?

1125


What is sqlconnection in c#?

916


What is the difference between string keyword and system.string class?

1076


Explain namespaces in c#.

993


What is difference between dll and exe in c#?

963


What are classes in c#?

948


What are the types of comments in c#?

965


Define an assembly in .net?

937