Browse by Tags

All Tags » C# » .Net2.0 (RSS)

Passing Parameter to a Predicate in .Net2.0 by Adil Akhter

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...
Filed under: ,

Using Predicate & Action of .Net2.0 by Adil Akhter

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...
Filed under: ,

Designing Efficient Immutable .Net2.0 Objects by Adil Akhter

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...
Filed under: , , ,
More Posts