What is difference between First and FirstOrDefault in LINQ?

Last week I were presenting LINQ to group of almost 100 audience. While writing query a question raised that what is difference between First and FirstOrDefault . At that time I was not very sure about answer so I asked audience to help me. One from audience answered this question. So credit of this blog … Continue reading What is difference between First and FirstOrDefault in LINQ?

Advertisements

Organised and Presented at June meeting of C-Sharp Corner Delhi Chapter

Yes we done that. It was third event in row (April, May, June) when we organised C-Sharp Corner Delhi Chapter Meet with more than 100 attendees. We did June month meeting on 22nd June in Noida and once again we had more than 100 audience. Read official recap here Join Chapter here We followed following … Continue reading Organised and Presented at June meeting of C-Sharp Corner Delhi Chapter

TestFixtureSetUp and TestFixtureTearDown in Unit Testing using NUnit: Part 4

We have been learning Unit Testing using NUnit together. Read first three parts of this series below, How to do Unit Test using NUnit : Part 1 Test SetUp and TearDown in Unit Testing using NUnit : Part 2 Ignore Test in Unit Testing using NUnit: Part 3 In Part 2 , we discussed about … Continue reading TestFixtureSetUp and TestFixtureTearDown in Unit Testing using NUnit: Part 4