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...

what is managed code and managed data?

Answer Posted / jayakumar

Managed code is code that is written to target the services
of the Common Language Runtime.
In order to target these services, the code must provide a
minimum level of information (metadata) to the runtime.
All C#, Visual Basic .NET, and JScript .NET code is managed
by default.
Visual Studio .NET C++ code is not managed by default, but
the compiler can produce managed code by specifying a
command-line switch (/CLR).
Closely related to managed code is managed data--data that
is allocated and de- allocated by the Common Language
Runtime's garbage collector. C#, Visual Basic, and JScript
.NET data is managed by default.
C# data can, however, be marked as unmanaged through the use
of special keywords.
Visual Studio .NET C++ data is unmanaged by default (even
when using the /CLR switch), but when using Managed
Extensions for C++, a class can be marked as managed using
the __gc keyword. As the name suggests, this means that the
memory for instances of the class is managed by the garbage
collector.
In addition, the class becomes a full participating member
of the .NET Framework community, with the benefits and
restrictions that it brings. An example of a benefit is
proper interoperability with classes written in other
languages (for example, a managed C++ class can inherit from
a Visual Basic class).

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why am I getting an invalidoperationexception when I serialize an arraylist?

893


Explain some of the disadvantages due to microsoft.net?

985


i wish to write mcts(microsoft certified technology specialist) exam. can anyone give the model question or format and preparation method?

2768


The maximum report processing jobs limit configured by your system administrator has been reached.How I can Solve this problem when i using crystal report to load from my application.

15052


How does .net remoting work?

1091


Describe the Managed Execution Process in .NET?

965


How can I write my own .NET host?

1013


What is the mesi? : .NET Architecture

1026


any one can explain about projectarchitecture and project approach briefly

2509


What re interop services?

1007


What is .net mobile input validation. : Microsoft dot net mobile

935


What is the application frame host?

952


Explain about cookie less session state? : .NET Architecture

975


what is sessions and cookies take one example simple way to understand

2347


Explain is development of a mobile web application with asp.net is very easy? : Microsoft dot net mobile

946