C Sharp Interview Questions and Answers for Freshers Pdf - 2

Question: 6

What are value types?

Value type

Bool,

byte,

chat,

decimal,

double,

enum float,

int,

long,

sbyte,

short,

strut,

unit,

ulong,

ushort

Value types are stored in Stack.

Question: 7

Does C# support multiple inheritances?

No, use interfaces instead.

Question: 8

Is it possible to inline assembly or IL in C# code?

No

Question: 9

What is a satellite assembly?

When you write a multilingual or multi-cultural application in .net, and want to distribute the core application separately from the localized modules, the localized assemblies that modify the core application are called satellite assemblies.

Question: 10

Can you override private virtual methods?

No, moreover, you cannot access private methods in inherited classes, have to be protected in the base class to allow any sort of access.

Related Questions