C Sharp Interview Questions and Answers for Freshers Pdf - 1

Question: 1

What standard types does C# supply?

C# supports a very similar range of basic types to C++, including

int,

long,

float,

double,

char,

string,

arrays,

structs and

classes.

Question: 2

What is the difference between the debug class and trace class?

Documentation looks the same. Use Debug class for debug builds, use Trace class for both debug and release builds.

Question: 3

What is a multicast delegate?

It is a delegate that points to and eventually fires off several methods.

Question: 4

Does C# support XP themes?

Yes. to find more information on how its done.

Question: 5

What is the difference between a class and a struct?

The class objet is stored in the heap and struct object is stored in the stack.

Therefore accessing and removing data from the struct is faster than for a class.

Related Questions