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 profiles in asp.net

1 Answers  


What is difference between web config and global asax?

0 Answers  


How can you debug your.net application?

0 Answers  


Write a standard lock() plus double check to create a critical section around a variable access?

1 Answers  


What are the Types of session management in ASP.NET

0 Answers   Microsoft,






In try catch blocks one is normal catch block and another is sqlcatchexception block

3 Answers   Microsoft,


What is the purpose of using MVC programming pattern in ASP.NET?

0 Answers   PUCIT,


Where does the Web page belong in the .NET Framework class hierarchy?

1 Answers  


How many types of triggers are there in update panel?

0 Answers  


For Web services where you can browse on the Internet?

1 Answers   Siebel,


What is versioning in .NET?

1 Answers   Syntax Softtech, Wipro,


Which two properties are there on every validation control?

2 Answers  


Categories