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

why we are using delegates and in which condition it is required?

3 Answers   TCS,


Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.

1 Answers  


Can we change the session timeout in ASP.NET, if yes then how and from where?

7 Answers   L&T,


Difference between web.config and app.config?

3 Answers   ITC Infotech, Jenesys Technologies,


What is the need to give <compilation debug=true> command ?

3 Answers   Netsweeper,






What are the events in a page life cycle?

0 Answers  


What is a web api endpoint?

0 Answers  


Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?

0 Answers  


Which namespace do the classes, allowing you to support COM functionality, are located?

1 Answers  


Can two different programming languages be mixed in a single ASMX file?

1 Answers   IBM, Patni, Wipro,


What is asp.net architecture?

0 Answers  


Can a master page have more than one contentplaceholder?

0 Answers  


Categories