How to write unmanaged code and how to identify whether the
code is managed / unmanaged ?

Answers were Sorted based on User's Feedback



How to write unmanaged code and how to identify whether the code is managed / unmanaged ?..

Answer / narayansahu

you can only write unmanaged code in c# not in vb.net
you can only call unmanaged code in vb.net. calling and
writing unmanaged code are different things.

To identify whether the code is managed or not open the
file in ildasm in VS.Net Command prompt.
Also you can use a .Net tool called dumpbin, which can be
used to check the headers.

or open the dll in notepad and check for "V e r s i o n".
If you find that, it is managed assembly.

Is This Answer Correct ?    6 Yes 3 No

How to write unmanaged code and how to identify whether the code is managed / unmanaged ?..

Answer / padmaja

The code which is under control of clr is comes under
managed code.The code which is not comes under clr is
unmaged code.All IL code is managed code.com components
comes under unmanaged code.

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More ASP.NET Interview Questions

What is state management react?

0 Answers  


what is loosely coupled solution? How it can be used?

0 Answers   Siebel,


Explain the concept of event bubbling in ASP.NET?

0 Answers   Sans Pareil IT Services,


What are the authentication types in asp.net?

0 Answers  


what is SAP fullform

161 Answers   A3Logics, Amazon, DFD, Federal Mogul, Hol Info, IBM, Infosys, Jai Ganesh, Kesri Metal, Lupin, Microsoft, RPG, SAP Labs, SRS Group, TCS, Videocon,






Define the term Web Garden?

0 Answers   Sans Pareil IT Services,


What is asp according to you?

0 Answers  


What is preprocessor in .net and type, where it use?

0 Answers  


Various types of Page Load functions

4 Answers   Net Solution,


What is an application domain?

2 Answers   Microsoft,


Types of objects in ASP ?

2 Answers   Microsoft,


What is a 404 redirect?

0 Answers  


Categories