Click here to Skip to main content
15,867,851 members
Everything / Programming Languages / C# 4.0

C# 4.0

C#4.0

Great Reads

by Igor Ladnik
Wrapper to facilitate usage of TCP sockets
by Sacha Barber
It would probably be like Cinch, an MVVM framework for WPF.
by Roman Kiss
This article describes a design, implementation and usage of the Custom Routing Manager for managing messages via Routing Service built-in .Net 4 Technology.
by Adam David Hill
All the juicy tricks and scandalous shortcuts which helped us ship our competition game on time

Latest Articles

by Elmue
An easy to use 3D control which can be integrated into an application in a few minutes
by NikStar
Using OutgoingMessageProperties and OperationContextScope to implement authorization by http header for WCF client that communicates with non WCF-based web services.
by Siddhartha S.
WPF smart client demo of nitty gritty of MVVM for a real life LOB application
by Shivprasad koirala
Understanding two terminologies - reflection and dynamic keyword

All Articles

Sort by Updated

C# 4.0 

30 Aug 2011 by #realJSOP
Keep more detailed track of your Codeproject reputation points.
20 Sep 2012 by #realJSOP
Keep more detailed track of your Codeproject reputation points.
20 Aug 2011 by #realJSOP
Keep more detailed track of your Codeproject reputation points.
23 Feb 2021 by #realJSOP
Implement enumerator selection in your WPF apps
15 Nov 2010 by 10Tec, Sergey Gorbenko
Tool for creating MS Visual Studio documentation files - XML Summaries, HxS/MSHC help solutions and manuals.
6 Aug 2012 by _DanV_
How to dynamically add controls on a hierarchical structure on MVC.
6 Jun 2011 by A Mahesh
Create simple REST service using WCF and VS 2010
7 Jun 2014 by A. Najafzadeh
Saving zip files in access database with encrypting bytes when file saved in access database and decrypting bytes when extracting files from database . . .
11 Oct 2011 by A. Raees
UI State Synchronization of Win Form Controls
29 Jun 2010 by Abdelmawgoud M. Meabed
Programmatically switch keyboard layout in C#
28 Jun 2010 by Abdelmawgoud M. Meabed
Using BindSource control to implement Windows Forms applications Audit trial in .NET
16 Nov 2010 by Abdul Quader Mamun
Paging must be effective for large scaleable applications. Without smart and effective paging and sorting for huge amount of data, user request takes more time and uses more resources.
12 Aug 2009 by abhigad
Code Contracts provide a language-agnostic way to express coding assumptions in .NET programs
8 Feb 2010 by Abhijit Jana
Scrollable Zooming Extension for VS 2010
6 May 2010 by Abhijit Jana
Describes all debugging features like Breakpoints, DataTips, Watch Windows, Multithreaded Debugging, Parallel Program Debugging and IntelliTrace Debugging
18 May 2017 by Abhijit S Kulkarni
Token Based Authentication for Web API
25 Aug 2011 by Abhimanyu Kumar Vatsa
In this quick post, you will learn all about cookies used in web based applications.
2 Aug 2009 by Abhishek Sur
Gives an introduction to CLR programming in SQL Server databases. This is the first part of a two-part article series.
2 Aug 2009 by Abhishek Sur
Gives an introduction of how to create SQL CLR managed objects in SQL server.
31 Oct 2009 by Abhishek Sur
This article will enable you to add custom search rules to your application using Bing Search API with much more
3 Nov 2009 by Abhishek Sur
Using this article you will get the basic idea of how you could use NDepend to control/analyze your application. It allows to apply design rules and refactor code.
17 Jan 2010 by Abhishek Sur
Implement services that start/stop automatically to some events like Device attached, Network Availability, Firewall port modified, Domain join, Group Policy change etc
31 Jan 2010 by Abhishek Sur
A WPF Infowindow placed on the right hand corner of the Code Canvas which informs you about the code statistics
31 Oct 2010 by Abhishek Sur
Easiest way to handle Localization in your WPF application
5 Nov 2010 by Abhishek Sur
The article demonstrates how Reflection APIs behaves in real time development and also gives you few ways to improve its performance.
20 Nov 2010 by Abhishek Sur
C# 5.0 CTP was introduced recently, this article is specally dealing with my own understanding with this realease with few sample applications
4 Nov 2010 by Abhishek Sur
In this article, I have provided sample codes to ensure you could build your own Dynamic Type easily using Reflection.Emit classes.
17 Apr 2011 by AbhishekGoenka
An understanding of "The Inversion of Control" Pattern
18 Jun 2011 by AbhishekGoenka
Validation Frameworks in .NET Framework 4
18 Dec 2012 by Abion47
Using asynchronous progress bars on your form from start to finish
3 Dec 2012 by Adam David Hill
Sensor-controlled XNA tunnel game with VR head-tracking.
7 Jan 2013 by Adam David Hill
All the juicy tricks and scandalous shortcuts which helped us ship our competition game on time
20 Sep 2009 by Adam Langley
Write better console applications, quickly, and easily
24 Jun 2009 by AdamNThompson
This class sorts objects using Generics and LINQ Lambda Expressions.
13 Sep 2010 by Adhish Pendharkar
Launch Application Forms in MultiScreen
22 Oct 2010 by adi_ionica
This is an example of a Custom Control that inherits from a TextBox and does a simple enhancement to the TextBox
15 Feb 2019 by aditya pewekar
Create custom HTML helper to manage Page Mode like View (Readonly) and Edit/Add (Editable)
3 Apr 2013 by AdolfoPerez
Form designer with editable display properties and bindings. Generates XAML forms.
15 Feb 2016 by Ahmed Amer Jaf
Fast n Easy Way to parse Json data
19 Jul 2018 by Ajcek84
PSAM Control Library ported over to WPF
18 Jul 2012 by Ajosh Palis
The purpose of this article is to illustrate a context menu that renders in cricular shape.
3 Jul 2011 by akatran
Custom control that can show ranges in a horizontal bar
2 Nov 2019 by Alaa Ben Fatma
Explore your MMSQL server tables in a professional way
6 Jul 2010 by Alain Bertrand
A small XML serializer for Silverlight projects.
7 Apr 2014 by Alain DOS REIS
A first approach to mixing .NET and native code, using the C++/CLI gateway.
1 Feb 2010 by Alaric Dailey
Correctly using provider factories to create database independant code
29 Jan 2016 by Alazar 9860585
Calculating the Probability of Related Events Based on Bayes' Theorem Using MongoDB Aggregation Framework in C#
23 Sep 2015 by Alberto Venditti
Using a .NET Windows service as an engine for specialized custom plug-ins execution
20 Sep 2016 by Alen Toma
How to implement deep cloning using Reflection
23 Feb 2013 by Alex_Xia
An introduction to MVC model binding and data annotation.
25 Dec 2019 by Alexander Iacobciuc
In this article you will find an implementation of a stream player control.
31 May 2012 by Alexander Van Berg
Combinatorial generation of C# generic types.
4 Jul 2011 by Alexander Wieser
Equinox is an SMTP/IMAP client running on the .NET Framework and Mono.
11 Dec 2012 by Alexander Wieser
The Spectre Framework is an attempt to introduce HTML5 as a first class citizen UI language for CLR based applications.
23 Mar 2011 by Alexandru Lungu
HTTP - No IIS; Authentication - No SSL/X509 Certificate; Encryption - RSA+AES for Request, AES for Response; Compression - GZip for both Request/Response.
22 Mar 2011 by Alexandru Lungu
HTTP - No IIS; Authentication - No SSL/X509 Certificate; Encryption - RSA+AES for Request, AES for Response; Compression - GZip for both Request/Response
27 Mar 2014 by alexandrvslv
Docking windows container, extended listview, extended property editor.
26 May 2010 by AlexCode
A way to audit your business objects using NLog.
17 Feb 2013 by AlexCode
Create image sprites and its CSS classes on the fly
10 Feb 2012 by alexy.shelest
This project is a real-time multi-threaded trading application framework developed with WPF / MVVM
12 Oct 2010 by Allen C. Copeland Jr
Gives an example of code to arbitrarily iterate through the elements of a .NET Array using an iterator in C#
25 May 2015 by Aman Thakur
Integrating Paypal in ASP.NET MVC 4
2 Oct 2012 by amargujrathi2006
This article is to demonstrate interceptor pattern with MVC controller action, and so action can be intercepted in controller classes without using action filters.
20 Jul 2010 by AmbarRay
This article explains how to manage state in Web Services using WCF by leveraging ASP.NET infrastructure with BasicHttpBinding.
28 Apr 2011 by ambilykk
Introduction to ASP.NET MVC 3 framework and how to create an application using ASP.NET MVC 3
29 Sep 2013 by Amit Bezalel
Transfering subtitle synchronization from one subtitle file to another
11 Jul 2013 by Amit_Mittal
A way to achieve automatic scrolling during a drag operation
7 Jun 2012 by AmitGajjar
This test case is intended for understanding of how useful automated Unit tests
11 Jun 2012 by AmitGajjar
How we can utilize power of LINQ with XML data.
17 Aug 2012 by AmitGajjar
Create, Read, Update and Delete operations in ASP.Net with MySQL database with N-Tier Architecture
5 Sep 2012 by AmitGajjar
This is UserControl of DataGridView with Paging for Windows Form
22 Feb 2012 by amitthk
Parichay (A Simple & Small Asp.Net MVC Social Network Starter)
7 May 2013 by Amogh Natu
This post explains how to access an impersonated user's details from the code-behind using C#.
12 Apr 2013 by Amogh Natu
This article mainly explains what webhooks are, how they can be created and used and also a sample example showing the use of webhooks.
9 May 2010 by Amund Gjersøe
Scans for installed serial ports, queries the supported baud rates, and starts listening to the selected serial port.
27 Oct 2012 by Anand Ranjan Pandey
The purpose of this article is to create a proof of concept to demonstrate the feasibility of ASP.NET Web API Beta Version.
16 Jan 2013 by Anand Ranjan Pandey
Design a website architecture that must be simple, easily understandable by any web designer using asp.net MVC, EF, Knockoutjs and Bootstrap
13 Jan 2013 by Anand Ranjan Pandey
Design a website architecture that must be simple, easily understandable by any web designer using asp.net MVC, EF, Knockoutjs and Bootstrap
22 Oct 2011 by Anas Karkoukli
Auto incrementing and custom versioning of assemblies with Visual Studio 2010 and MSBUILD using MSBUILD Tasks
17 Feb 2010 by AndiHoffi
Turn it on and off using a simple tray icon.
15 Oct 2010 by Andre Trollip
A simple set of classes to make creating Peer to Peer messaging easy using UDP. Features built-in message concatenation and delivery receipts for reliable transmission.
4 May 2010 by Andre Vianna
Lowering the memory consumption to allow Djikstra's algorithm to handle large amount of nodes.
26 Sep 2010 by Andreas Gieriet
.NET 4 finally allows to define polymorphic extension visitors
9 Jul 2014 by Andreo Romera
In this first tutorial, we are going to learn how to make calls to a Web Api Rest Service using the NuGet Package WebApiRestService.WebApiClient
10 Oct 2012 by Andrew Rissing
An intuitive-fluent API for generating Linq Expressions.
7 Oct 2012 by Andriks
A MessageBox replacement with some much needed extras
31 May 2012 by Andrzej Skutnik
Describes using TreeView navigation in the standard PRISM.
5 Jul 2012 by Andrzej Skutnik
Accordion versus TreeView and the DataGrid in the navigation data in Silverlight.
21 Aug 2009 by Andy Lang
Use WPF's ListViw to simulate Windows Explorer with binding
9 May 2010 by Anil_gupta
This article is about the best practices to write a Silverlight application which is highly unit testable.
18 Jun 2012 by Aniruddha Guin
This article is for beginners to demonstrate a way to beautify the default MVC3 template using Twitter Bootstrap.
5 Sep 2009 by Anoop Pillai
Exploring the exciting things we can do with DynamicObject in the System.Dynamic namespace and MEF, using .NET 4.0 and C#.
29 Mar 2010 by Anoop Pillai
Explores the dynamic features in C# 4.0, and a few cool things you can do with the same.
11 Sep 2011 by Anshul Mehra
This article provide APIs & functionality so that Excel Quits after automation
15 Aug 2014 by AnthonyPaulO
These classes should solve the multi-threaded issues plaguing the collection classes for good.
3 Oct 2013 by Antonio Petricca
.NET ServiceController class extension
16 Jul 2010 by Anupam Banerji
Explains regular expressions, and some of the common ways to use them.
13 Jul 2010 by Anupam Banerji
Defines collections and types and explains their use in the C# 3.0 language.
15 Jul 2010 by Anupam Banerji
Explains serialization, the need for custom serialization, and how to implement custom serialization in your code.