TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jey J
NA
1
0
HashTable Enumeration Issue
Jan 21 2007 8:53 PM
Hi there, I'm storing my custom objects in HashTable as values. When enumerating through them, Invalid cast exception: Param test = null; foreach (DictionaryEntry p in pHTParam) { test = (Param)p.Value; //the hashtable has Param objects as value. So, it's failing on casting saying - cannot convert //Param to Param!! } } Unable to cast object of type 'Param' to type 'Param'. Any help would be appreciated!! Thanks, JJ
Reply
Answers (
1
)
windows environment
Creating dialogue box like "Save As" with some extra text