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
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
reevaluation in c#
Gomathi Palaniswamy
Aug 20, 2011
8.7
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
This contains how linq query reevalute the collection value.
int[] array = new int[] {1,2,3};
IEnumerable<int> result = array.Select(o => o * 2);
foreach(int i in array)
Console.WriteLine(i);
Array.Clear(array, 0, 3);
foreach (int i in array)
Console.WriteLine(i);
Next Recommended Reading
How to get a particular datacolumn values from datatable using LINQ in C#