Browse by Tags
All Tags »
.NET Framework 3.0 (
RSS)
The title is a bit confusing. So, in order to solve that, let me explain the meaning of it. Lets say I have a Client - Server application. The server is hosted in a console application and can perform several operations that are requested from a client application. The client application is a windows application that sends messages to the server using WCF. One thing that I think is extremely important when developing such applications is the acknowledgement process. In other words, I want to know...
Visual studio Orcas and C# 3.0 introduce some very cool features. Recently I have been working on several posts that talk about those new features. I recommend you all to review them: Extension Methods . Automated Properties . In this post I will be discussing on yet another cool feature: Lambda Expressions. Overview C# 2.0 introduced a new feature, anonymous methods, that allows you to declare your method code inline instead of with a delegate function: FileSystemWatcher watcher = new FileSystemWatcher...
Extension methods is a new feature introduced by Orcas. As the name implies, the idea behind the extension method is to extend existing types with new methods. Getting Started Creating an extension method is fairly simple. For example, lets say that for each string type, you would like to add a new method that will convert white spaces into underscores: public static string SpaceToUnderscore( this string source) { char [] cArray = source.ToCharArray(); string result = null ; foreach ( char c in cArray...