Interview Questions - Difficulty Level - I

9Sunday,September
0 comments

 What is the default access specifier of a class ?.
 Can strings be declared as constants in C#?.
 What is the default access specifier of a class member.
 Can Constructors be declared as Private?.
 How to force a Garbage Collection ?.
 Does C# support multiple inheritance ?.
 Does C# support dynamic typing ?.
 Can value type be assigned a null value?.If so how?
 Where does value and reference types are strored in memory?
 Give one example for compile time polymorphism ?.
 Which datatype is used to store a arbitrarily huge numeric value ?.
 What is the difference between const and readonly ?.
 Which area of Memory is managed by runtime?.Stack or Heap
 What is the use of keyword var?.
 Is it possible to call Finalize method manually?.What is the use of this method?
 Which is type safe ArrayList or List<T>
 What is the difference between List<T> and SortedList<T>