What is the difference between Hash Table and Arrays?
Answer Posted / amit singh
Hashtable is not type safe while array is.
Boxing takes place while u store value in hastable.Because
hastable stores data as objects and when u retreive value
then unboxing takes plase.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are the Types of JIT and what is econo-JIT
Could you explain the difference between func vs action vs predicate?
Explain briefly the difference between value type and reference type?
What does an indexer do?
Classes and structs can be declared as static, is this statement true or false?
What are the different types of constructors?
Can you have parameters for static constructors?
Explain hash table in c# ?
What is the difference between method and constructor in c#?
What is a hash table c#?
What is use of abstract class in c#?
These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.
Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?
Can I get the name of a type at runtime?
What is lazy loading and eager loading in c#?