Category Archives: C# 4.0

WPF – Merging GridView Columns

Requirement: We have a ListView with GridView control as View. When we select a particular row, we need to display a textbox merging more than one column of the selected row. Solution: <ListView Name=”categoryList”  SelectionMode=”Single” Height=”350″ FontFamily=”Segoe UI” Margin=”49,79,12,0″ IsSynchronizedWithCurrentItem=”True”> … Continue reading

Posted in C#, C# 4.0, WPF | Tagged , | Leave a comment

All-In-One Code Framework

  o   Are you frustrated by the lack of code samples for a certain programming task? o   Have you ever struggled to quickly get started with a technique? o   Have you expected someone to write code samples for you based … Continue reading

Posted in ASP.Net, Azure, C# 4.0 | Tagged | 1 Comment

Asynchronous Method Using Task

Parallel programming is introduced in C# 4.0 using the Task libraries. There are many aspects of Parallel programming and how to use the Task libraries. Here, we will look into the Task from a beginner stand point. In this article, … Continue reading

Posted in C# 4.0, Visual Studio 2010 | Tagged , , | Leave a comment

C# 4.0 Features – Optional Parameters

Optional Parameters One of the major features in C# 4.0 is optional parameters. You can define the methods with any number of optional parameters. When you define an optional parameter, specify the default value for the same. In the following … Continue reading

Posted in C#, C# 4.0 | Leave a comment