+Rakesh Shrivastava Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful. I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you th-cam.com/users/kudvenkatplaylists?view=1&sort=dd If you need DVDs or to download all the videos for offline viewing please visit www.pragimtech.com/kudvenkat_dvd.aspx Slides and Text Version of the videos can be found on my blog csharp-video-tutorials.blogspot.com Tips to effectively use my youtube channel. th-cam.com/video/y780MwhY70s/w-d-xo.html If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel. th-cam.com/users/kudvenkat If you like these videos, please click on the THUMBS UP button below the video. May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them. Kind Regards Venkat
Again good tutorial. I have one question here...if we already know there is a single value in the collection then why we use single() operator to retrieve it? we can simply retrieve it by index no. like 👇 Console.WriteLine(numbers[0]); Any comment on this plz!
I think DefaultIfEmpty() method can be used in the following way, int[] numbers = { 1, 2, 3, 4, 6 }; var result = numbers.Where(x => x % 5 == 0).DefaultIfEmpty(1); foreach (var item in result) { if (item == 1) { Console.WriteLine("There is no such number in the array which is divided by 5"); } else { Console.WriteLine("{0}", item); } } Console.ReadKey(); Thank you. :)
very nice explanation..thank you sir.
+Rakesh Shrivastava Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you
th-cam.com/users/kudvenkatplaylists?view=1&sort=dd
If you need DVDs or to download all the videos for offline viewing please visit
www.pragimtech.com/kudvenkat_dvd.aspx
Slides and Text Version of the videos can be found on my blog
csharp-video-tutorials.blogspot.com
Tips to effectively use my youtube channel.
th-cam.com/video/y780MwhY70s/w-d-xo.html
If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
th-cam.com/users/kudvenkat
If you like these videos, please click on the THUMBS UP button below the video.
May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them.
Kind Regards
Venkat
Thank you Mr Venkat 👍. Another awesome video 👌
Hi Venkat! You're the best teacher I have never had !
Hi Venkat! I like the way you explain. You make me better programmer with your tutorials
Excellent Kudvenkat.. Very useful to .net developers.
Again good tutorial. I have one question here...if we already know there is a single value in the collection then why we use single() operator to retrieve it? we can simply retrieve it by index no. like 👇
Console.WriteLine(numbers[0]);
Any comment on this plz!
best teacher
wow, what a nice tutorial :O
Thank you, very good explanation.
Hi Venkat, if these extension methods show as first in the list, why do we use them as first() ?
Thanks a lot sir
nice
Thank YOu Sir :)
Super ..hats off..
I think DefaultIfEmpty() method can be used in the following way,
int[] numbers = { 1, 2, 3, 4, 6 };
var result = numbers.Where(x => x % 5 == 0).DefaultIfEmpty(1);
foreach (var item in result)
{
if (item == 1)
{
Console.WriteLine("There is no such number in the array which is divided by 5");
}
else
{
Console.WriteLine("{0}", item);
}
}
Console.ReadKey();
Thank you. :)
Grrrrrreart