What is the differnce between Array and Hash Table?
Answers were Sorted based on User's Feedback
Answer / pramodgupta20
1.Array can store same type of data While Hash Table can
store different type of data.
2) Hash table store data as name,value pair. while in array
only value is store.
3) to access value from hash table, you need to pass name.
while in array, to access value , you need to pass index
number.
Is This Answer Correct ? | 70 Yes | 1 No |
Answer / mohit jethva
Array can not contain diffrent type of object where in hash table you can store it.
Is This Answer Correct ? | 15 Yes | 2 No |
Answer / ankit,abhishek
array is the collection of similar datatype while hashtable
is collection of different data type.
Is This Answer Correct ? | 2 Yes | 0 No |
Can I define my own exceptions?
How to throw an caught exception from cath block?
What is console readkey ()?
code to generate a excel sheet and to write data into it --- -it has to fetch the excel sheet which is in one folder placed by us inside a project folder(i,e it has to create a instance of that excel sheet) and write the data into it row by row please respond as early as possible
List the two important objects of ado.net and also list the namespaces that are commonly used in ado.net to aid in connection to a database.
What is the best method to fill the GridView. using SqlDataReader or Dataset and why
What is the difference between delegates and events in c#?
Which are the access modifiers available in c#?
What is the function of the not null constraint?
Can we return two values from a function?
Can a structure be inherited by a class?
How do you generate documentation from the C# file commented properly with a command-line compiler?