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
Preetham Holenarasipuradevera
NA
75
12.3k
List.add replacing the all old values with new value
Feb 9 2021 3:35 PM
account_Entites = new account_entites();
dynamic userdetails = JValue.Parse( response.Content.ReadAsStringAsync().Result);
dynamic values = JValue.Parse(userdetails.value.ToString());
foreach(var user in values)
{
if (user.preetham_registrationnumber!= null)
{
account_Entites.preetham_registrationnumber =user.preetham_registrationnumber;
account_Entites.name = user.name;
data_list.Add(account_Entites); // here for second iteration its replacing old value new value
}
}
}
return data_list;
can anybody help me
Reply
Answers (
3
)
Which is best secure authentication method used in webapi
About ADO.Net in MVC