For Answers, see/post comments
What is Hashtable ?what is the use of hashTable ? and Some Example ?any one help me ..
Dim table As Hashtable = New Hashtable() Trytable.Add("Last Name", employee)Catch argumentException As ArgumentExceptionEnd Trythe above one some little example if u try to add again Last Name as employee it throws an exceptionmeans hash table takes only UNIQUE values so in the catch block i was not mentioned any statementsi hope u understood
Thanks srisha
Post a Comment
2 comments:
Dim table As Hashtable = New Hashtable()
Try
table.Add("Last Name", employee)
Catch argumentException As ArgumentException
End Try
the above one some little example
if u try to add again Last Name as employee it throws an exception
means hash table takes only UNIQUE values
so in the catch block i was not mentioned any statements
i hope u understood
Thanks srisha
Post a Comment