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

Define a multilingual website?

0 Answers  


What is the significance of ASP.NET routing?

0 Answers   NA,


Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.

0 Answers   eMids,


How to publish website

1 Answers   Syntel,


What is repository pattern in mvc.net? : asp.net mvc

0 Answers  


How would you get asp.net running in apache web servers?

0 Answers  


what is diffrent between asp & asp.net

2 Answers  


What is hidden field in asp.net?

0 Answers  


1. Briefly describe your ideal job?

1 Answers   Swatz Oils, Swetz Oil,


How do you trap errors in ASP and how do you invoke a component in ASP ?

1 Answers   Cognizant,


What are the new page events added in Asp.net 2.0 ?

5 Answers   Sapient, TCS,


What is a web based system?

0 Answers  


Categories