Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
Compile type error coming in List.
Mayank
Jul 11 2017 7:28 AM
244
Reply
1.
string str="data";
object h2=str;
2.
List<object> h1 = new List<string>();
3.
IEnumerable<object> h3 = new List<string>();
First and third code working fine.
But second code is blowing error.
Please expain me.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
Hackerrank Test code doesnt compile
Looping through an array