When we use windows API in .NET is it managed or unmanaged code

Q

When we use windows API in .NET is it managed or unmanaged code ?

✍: Guest

A

Windows API in .NET is unmanaged code. Note:- Even though VB6 and V C++ has gone off still many people do ask these old questions again and again. Still there are decent old application which are working with COM very much fine. So interviewer still asks you these questions so that those application’s can be ported to .NET.

2007-10-22, 4422👍, 0💬