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
Mayank
NA
474
24.3k
Compile type error coming in List.
Jul 11 2017 7:28 AM
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.
Reply
Answers (
4
)
Hackerrank Test code doesnt compile
Looping through an array