Pre Course Home Next

.Net Interview Questions Tutorial

.Net Interview Questions for Beginners

Q. What is CTS?
A. CTS stands for Common type system.

Q. What is managed and unmanaged code?
A. Managed code is that code which runs under CLR. All the memory management of managed code is done y CLR and memory is cleared using garbage collector. Typically all code that uses .Net framework code is managed code. Unmanaged code is that code which doesn't run under CLR. Example of these are win32 APIs, COM objects, connection objects, open network connections.

Q. What is unmanaged resources?
A. Unmanaged resources or objects are those which created outside of CRL and not controled by CLR and everything that garbage collector is unaware of, example of these unmanaged resources are file streams, COM objects, connection objects, open network connections.

Pre Course Home Next