Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
How to convert class object into Generic List
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Faisal Ansari
13y
9.5k
1
Reply
hi guys how r u all?
hope u all r fine.
please guide me about this. i m trying to implicitly cast class object into Generic list but i m unable to do this.
i was trying this code
Class1 c1 = (Class1)Session["user"];
List<object> ol = ((List<object>)c1.ToString());
foreach (object o in ol)
{
Response.Write(o + "<br>");
}
please give me solution about this.. as soon as possible
Thanks.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Ms word
Is C# difficult to learn and use?