Interview Questions I answered in C#
Got the following questions in a interview.

1.	 In Object Oriented Programming, how would you describe encapsulation?

(a)	The conversion of one type of object to another.

(b)	The runtime resolution of method calls.

(c)	The exposition of data.

(d)	The separation of interface and implementation.


2.	How does assembly versioning in .NET prevent DLL Hell?

(a)	The runtime checks to see that only one version of an assembly is on the machine at any one time.

(b)	.NET allows assemblies to specify the name AND the version of any assemblies they need to run.

(c)	The compiler offers compile time checking for backward compatibility.

(d)	It doesn't.


3.	What is a delegate?

(a)	A strongly typed function pointer.

(b)	A light weight thread or process that can call a single method.

(c)	A reference to an object in a different process.

(d)	An inter-process message channel.
	

i ANSWERED 1A, 2B and 3A  - were these correct - i am thinking now for 3 it could be argued perhaps that i should have circled all 4 for answers?

Many Thanks.
Interview Questions I answered in C#
===

Got the following questions in a interview.

1.	 In Object Oriented Programming, how would you describe encapsulation?

(a)	The conversion of one type of object to another.

(b)	The runtime resolution of method calls.

(c)	The exposition of data.

(d)	The separation of interface and implementation.


2.	How does assembly versioning in .NET prevent DLL Hell?

(a)	The runtime checks to see that only one version of an assembly is on the machine at any one time.

(b)	.NET allows assemblies to specify the name AND the version of any assemblies they need to run.

(c)	The compiler offers compile time checking for backward compatibility.

(d)	It doesn't.


3.	What is a delegate?

(a)	A strongly typed function pointer.

(b)	A light weight thread or process that can call a single method.

(c)	A reference to an object in a different process.

(d)	An inter-process message channel.
	

i ANSWERED 1A, 2B and 3A  - were these correct - i am thinking now for 3 it could be argued perhaps that i should have circled all 4 for answers?

Many Thanks.