We can add Windows Live Messenger in our web page now so that any one can send us IM when we are online. Its seems to me a very interesting feature for my
In this post, we will see how to pass parameter to a method representing Predicate.
Let's say, we have a collection of SprintBacklogItems and we want to filter all the SprintBacklogItem
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
The following code snippet return the Version number of currently executing assembly -
static string
GetCurrentAssemblyVersionNumber() {
Assembly
currentAssembly =
Assembly
.GetExecutingAssembly();
return
currentAssembly.FullName.Split(
new Char
[] {
','
} )[1]; }
.Net framework’s Directory class of system.io namespace provides a static method GetFiles to search the files of a particular directory. Here is the static method detail - Using the code snippet