Browse by Tags

Related Posts

  • Using Predicate & Action of .Net2.0

    While I started developing software, I faced this situation over and over again where I had to iterate thorough the whole collection and perform some action on each of the element of the collection or filter elements depending on some logic. It was really annoying to  write same for/foreach loop...
    Posted to Md. Adil Akhter's Weblogs (Weblog) by Adil Akhter on 04-16-2008, 12:00 AM
    Filed under: .Net2.0, C#
  • Passing Parameter to a Predicate in .Net2.0

    In this post, we will see how to pass parameter to a method representing Predicate. Let's say, we have a collection of SprintBacklogItem and we want to filter all the SprintBacklogItem with Title start's with, let say "QA" or "Dev Task" depending on a input parameter. Now from the previous post we know...
    Posted to Md. Adil Akhter's Weblogs (Weblog) by Adil Akhter on 04-18-2008, 12:00 AM
    Filed under: .Net2.0, C#
  • Designing Efficient Immutable .Net2.0 Objects

    What is an immutable object? By definition immutable object is the object whose state can not be changed after it is created. That means, after creating the object, its publicly exposed members can not be changed from their initial assigned values. On the contrary, mutable objects are objects whose state...
    Posted to Md. Adil Akhter's Weblogs (Weblog) by Adil Akhter on 04-16-2008, 12:00 AM
    Filed under: .Net2.0, Immutable, C#, Design
Page 1 of 1 (3 items)
Page view counter