Click here to Skip to main content
15,169,624 members
This competition has ended

Best C# article of October 2010

Contribute to CodeProject and you'll automatically be in the running for a monthly prize!

Each month at CodeProject we gather together the best of the articles submitted the previous month and ask our readers to choose the best of the best. Entry is automatic - just submit you articke and we'll do the rest.

Check out the submission guidelines for information on posting articles.

Current Entries

Articles that match the contest criteria are automatically entered. The top 50 entries are shown.

Please Sign up or sign in to vote.
24 Oct 2010
Nithyaduruvan, Sathishkumar_P
This article describes about the export functionality of Excel sheet from WPF datagrid.
Please Sign up or sign in to vote.
26 Oct 2010
William SerGio
Creates & Tests New Domain Names for Infomercial & Products
Please Sign up or sign in to vote.
9 Oct 2010
Stefan Savev 2
Describes how to dump information from the C# parse tree
Please Sign up or sign in to vote.
5 Nov 2010
Paulo Zemek
Using structural-typing and duck-typing in .NET via interfaces
Please Sign up or sign in to vote.
15 Oct 2010
Raymund Macaalay
How to use AD attributes not represented in UserPrincipal, GroupPrincipal and ComputerPrincipal
Please Sign up or sign in to vote.
26 Oct 2010
Matt T Heffron
Since SortedSet has a constructor that takes an IEnumerable parameter, the ToSortedSet extension method can be greatly simplified:public static SortedSet ToSortedSet(this IEnumerable t){ return new SortedSet(t);}
Please Sign up or sign in to vote.
4 Oct 2010
Dinesh K Mandal
How to embed and use resources from .NET assembly
Please Sign up or sign in to vote.
4 Oct 2010
Dinesh K Mandal
Calling method in parent page from user control
Please Sign up or sign in to vote.
12 Oct 2010
Dinesh K Mandal
Using DebuggerDisplayAttribute
Please Sign up or sign in to vote.
19 Oct 2010
Ziv Nitzan
There is also a Visual Studio extention called CodeMaid that has a lot of cleaning options http://bit.ly/diMTaR
Please Sign up or sign in to vote.
10 Oct 2010
Pete O'Hanlon
Draggable PushPins
Please Sign up or sign in to vote.
25 Oct 2010
Ivan Krivyakov
Some anti-patterns I am experiencing first hand
Please Sign up or sign in to vote.
4 Oct 2010
Ondrej_Uzovic
Step by step procedure of how to create the self signed certificate and how to configure the SSL connection.
Please Sign up or sign in to vote.
19 Oct 2010
Ondrej_Uzovic
Simple example showing how to implement a communication scenario where one application sends notifications to other applications.
Please Sign up or sign in to vote.
6 Oct 2010
guidebee
Code example on how to draw enhanced graphics 2D pictures on Windows Mobile
Please Sign up or sign in to vote.
18 Oct 2010
User 271009
Windows Phone 7 – Application Lifecycle – Ocean for the Phone
Please Sign up or sign in to vote.
19 Oct 2010
Jonathan Wood
How to create website thumbnails in ASP.NET
Please Sign up or sign in to vote.
27 Oct 2010
Andrew Rissing
Technically, the best approach here for speed and flexibility is to do the following:public class TestClass{ private const string EMP_ID = "EmpId"; public void MyTestMethod() { //GetData fetches data from the database using a SQL query DataTable dt =...
Please Sign up or sign in to vote.
28 Oct 2010
jgauffin
Introducing a validation library
Please Sign up or sign in to vote.
28 Oct 2010
Sebastian Solnica
Writing a .NET debugger (part 2) – Handling events and creating wrappers
Please Sign up or sign in to vote.
6 Oct 2010
Raymund Macaalay
Programatically Copy and Check In a Full Directory to Sharepoint
Please Sign up or sign in to vote.
3 Sep 2013
karenpayne
Use less code in your business logic for messages to the UI
Please Sign up or sign in to vote.
10 Oct 2010
Gil Fink
Using Overlay Icon API to Make Client Notifications in IE9 Ever wanted to notify your site clients/users while they are surfing in your site. In one of the applications that I helped to build this was a customer requirement.
Please Sign up or sign in to vote.
29 Oct 2010
mohanayyavu
Use of .Net ManagementScope
Please Sign up or sign in to vote.
8 Oct 2010
hjgode
SetSystemTime and DST, better disable DST before using SetSystemTime
Please Sign up or sign in to vote.
19 Oct 2010
Paulo Morgado
The TakeLastWhile operator returns last contiguous elements from a sequence that satisfy the specified criteria and is implemented as the TakeLastWhile extension methods.
Please Sign up or sign in to vote.
28 Oct 2010
jgauffin
Simplified autofac registrations
Please Sign up or sign in to vote.
5 Nov 2010
SofianH
A description of the open source Web RSS Builder
Please Sign up or sign in to vote.
5 Nov 2010
SofianH
A description of the open source Web RSS Builder
Please Sign up or sign in to vote.
4 Oct 2010
Williarob
How to check for a running instance
Please Sign up or sign in to vote.
9 Oct 2010
Đỗ Hồng Ngọc
Sorry for not checking the generic type. However, the algorithm with IndexOf is not suck as you think. In some simple case (like this issue), it's the best solution.I improve the algorithm here. I also give you more solution with RegEx. The last snippet code is used to compare their...
Please Sign up or sign in to vote.
12 Oct 2010
Dinesh K Mandal
Exploring the CacheItemRemovedCallback delegate provided by ASP.NET
Please Sign up or sign in to vote.
13 Oct 2010
thebacon
C# properties and expression trees
Please Sign up or sign in to vote.
15 Oct 2010
sadomovalex
SPGraphviz - create your own visualization graphs without programming in Sharepoint. Just define graph in DOT language in simple text file, upload it into document library and specify URL in SPGraphvizWebPart - it will make a graphical representation of your graph.
Please Sign up or sign in to vote.
20 Oct 2010
Paulo Morgado
The TakeLast operator returns a specified number of contiguous elements from the end of a sequence and is implemented as the TakeLast extension method.
Please Sign up or sign in to vote.
20 Oct 2010
Paulo Morgado
In this post, I’ll introduce the implementation of the SkipLast operator.
Please Sign up or sign in to vote.
12 Dec 2010
Paulo Morgado
LINQ: Introducing The Skip Last Operators
Please Sign up or sign in to vote.
21 Oct 2010
Paulo Morgado
LINQ: Implementing The SkipLastWhile Operator
Please Sign up or sign in to vote.
24 Oct 2010
Leung Yat Chun (Fainx)
This post explains how to use ContextMenuHelperEx in DirectoryInfoEx to simplify ContextMenu construction under .NET 4.0 Framework.
Please Sign up or sign in to vote.
27 Oct 2010
A.J.Wegierski
int empId = dt.Columns[EMP_ID].Ordinal;...int empId = Convert.ToInt32(dRow[empId]);
1 Oct 2010
Murtaza Abdeali
With their support for Mono 2.6.5 (and later), Infragistics NetAdvantage ASP.NET AJAX controls are the perfect choice for building rich and lively Web 2.0 applications that give you complete freedom to choose the hardware platform that’s best for you.
Please Sign up or sign in to vote.
18 Oct 2010
Marcelo Ricardo de Oliveira
How to create a puzzle exploring some great features of Windows Presentation Foundation
Please Sign up or sign in to vote.
13 Oct 2010
shynet
A library that contains classes to simulate user input and track user input (mouse and keyboard), in C# and VB.NET.
Please Sign up or sign in to vote.
5 Nov 2010
defwebserver
Programmatically selecting a Silverlight Tree View Control node using View Model (MVVM)
Please Sign up or sign in to vote.
16 Nov 2010
dolhaig
How to detect the Zune connection and the Network State inside your WP7 Application
Please Sign up or sign in to vote.
11 Oct 2010
Roberto Sonnino
A tutorial explaining how to develop the "Turnstile" animation as featured in the Windows Phone 7 UI, along with an easy-to-use ItemsControl that applies the effect to its items.
Please Sign up or sign in to vote.
1 Mar 2015
mbarbac
The seventh version of the dynamic, configuration-less and self-adaptive Kerosene ORM library, that provides full real support for POCO objects, natural SQL-like syntax from C#, and advanced capabilities while being extremely easy to use.
Please Sign up or sign in to vote.
20 Nov 2010
Christ Kennedy
strategy/action game defending the solar system : collision detection while flying around the surface
Please Sign up or sign in to vote.
8 Nov 2010
dolhaig
How to Resume the User's music after we played a video or audio from our Silverlight/XNA WP7 Application.

Current Participants

Those with articles that match the contest criteria are automatically entered.

A.J.Wegierski
Web Developer
Poland Poland
Complicated
Andrew Rissing
Architect
United States United States
Since I've begun my profession as a software developer, I've learned one important fact - change is inevitable. Requirements change, code changes, and life changes.

So..If you're not moving forward, you're moving backwards.
Bill SerGio, The Infomercial King
Chief Technology Officer Fortune 100 Company
United States United States
I am an expert in Artificial Intelligence (AI) and Blockchain and have always worked as Director of Software Development for the largest companies in America.
I have developed software for the American Red Cross, Microsoft, MySpace.com, Quicken (Intuit), Mellon Bank, U.S. Army, U.S. Navy, Franklin Templeton, Pepsi, Universal Studios, Ryder Systems, etc.
Christ Kennedy
CEO unemployable
Canada Canada
Christ Kennedy grew up in the suburbs of Montreal and is a bilingual Quebecois with a bachelor’s degree in computer engineering from McGill University. He is unemployable and currently living in Moncton, N.B. writing his next novel.
defwebserver
Software Developer (Senior) http://ADefWebserver.com
United States United States
Michael Washington is a Microsoft MVP. He is a ASP.NET and
C# programmer.
He is the founder of
AiHelpWebsite.com,
LightSwitchHelpWebsite.com, and
HoloLensHelpWebsite.com.

He has a son, Zachary and resides in Los Angeles with his wife Valerie.

He is the Author of:
Dinesh K Mandal
Technical Lead Imfinity India Pte Ltd, Noida (Excelsoft Company)
India India
http://www.imfinity.com/
Đỗ Hồng Ngọc
Software Developer GrapeCity
Vietnam Vietnam
MCP, MCAD, MCSD, MCTS for Windows Form, MCTS for Web

You can reach me at qFotoEfex

dolhaig
Software Developer
Hungary Hungary
No Biography provided
Gil Fink
Technical Lead sparXys
Israel Israel
Gil Fink is a web development expert and ASP.Net/IIS Microsoft MVP. He is the founder and owner of sparXys. He is currently consulting for various enterprises and companies, where he helps to develop Web and RIA-based solutions. He conducts lectures and workshops for individuals and enterprises who want to specialize in infrastructure and web development. He is also co-author of several Microsoft Official Courses (MOCs) and training kits, co-author of "Pro Single Page Application Development" book (Apress) and the founder of Front-End.IL Meetup. You can read his publications at his website: http://www.gilfink.net
guidebee
Founder Guidebee Pty Ltd
Australia Australia
Guidebee Digital Map API implements a mobile GIS engine on Java ME,BlackBerry,Android,Java SE,Windows Mobile, iPhone and .Net Framework It support online, offline, raster and vector map in the same package.and supports find an address and get a direction etc.
website: http://www.guidebee.biz
hjgode
Germany Germany
No Biography provided
Ivan Krivyakov
Technical Lead Thomson Reuters
United States United States
Ivan is a hands-on software architect/technical lead working for Thomson Reuters in the New York City area. At present I am mostly building complex multi-threaded WPF application for the financial sector, but I am also interested in cloud computing, web development, mobile development, etc.

Please visit my web site: www.ikriv.com.
jgauffin
Founder 1TCompany AB
Sweden Sweden
Jonathan Wood
Black Belt Coder
United States United States
Jonathan Wood has been a software developer for more years than he cares to admit. His current focus is on using C# and ASP.NET MVC to develop website applications, and C++ and MFC to develop desktop applications. His consulting company, SoftCircuits, is known for producing various commercial and shareware products.

Having an entrepreneurial spirit, Jonathan also has a number of other online businesses that he built from scratch such as Black Belt Coder, SC Web Group and others. He also has expertise in designing brands (including graphics and logos) and search-engine optimization (SEO).

Jonathan is always willing to discuss consulting work or joint ventures with people looking to develop software or online businesses.
karenpayne
Instructor / Trainer
United States United States
Microsoft MVP, Trouble shooter, component builder, and architect using Microsoft Visual Studio 2012/2013. Prior to VS .NET I developed solutions using Borland Delphi and before Delphi CA Clipper. I enjoy assisting others, sharing knowledge and learning from others. Outside of IT my passions are playing guitar and teaching self-defense. Currently a moderator for Microsoft Social forums in C#, VB.NET and Data binding forums. Lastly a MCC (Microsoft Community Contributor).
Matt T Heffron
Software Developer (Senior) Sciex
United States United States
I started programming in Basic on a DECSystem-10 as a Freshman at Caltech in 1974. I quickly transitioned to assembly language, Fortran, and Pascal. As a summer job at JPL, I did analysis of fuel consumption for the Viking Mars Orbiter attitude control system. I also spent a summer doing O/S maintenance at Digital Equipment Corporation.
After graduation, I started developing microprocessor development tools (e.g., cross-compiler, debugger) for Beckman Instruments, a scientific instrument company.
I've worked on custom file-systems, a real-time O/S for Z8000, Expert Systems (SpinPro & PepPro), and internal and external networking support (I was their first webmaster).
I've worked on the DNA analysis system.
I was the console/UI software architect for Ultracentrifuges and protein Capillary Electrophoresis systems.
After 35 years, Danaher having acquired Beckman (now Beckman Coulter), transferred the CE group to become part of Sciex (2014).
mbarbac
Spain Spain
mbarbac has worked in start-ups, multinational tech companies, and consulting ones, serving as CIO, CTO, SW Development Director, and Consulting Director, among many other roles.

Solving complex puzzles and getting out of them business value has ever been among his main interests - and that's why he has spent his latest 25 years trying to combine his degree in Theoretical Physics with his MBA... and he is still trying to figure out how all these things can fit together.

Even if flying a lot across many countries, along with the long working days that are customary in IT management and Consultancy, he can say that, after all, he lives in Spain (at least the weekends).
mohanayyavu
Software Developer (Senior) Computer Sciences Corporation, Chennai
India India
No Biography provided
Murtaza Abdeali
Product Manager Infragistics
United States United States
My name is Murtaza Abdeali, also known as Taz, I am the Product Manager for Web Clients at Infragistics. I manage our ASP.NET product line.

I started at Infragistics in 2004 as a Developer Support Engineer, where I enjoyed being at the fore front of all the product lines, talking directly to customers, answering questions, solving simple and complex problems.

Then I joined our Evangelism department as a Technical Evangelist, where I travelled all over the world visiting customers, speaking with them face to face, talking about the product and technologies around. During the same period, I also did some consulting and training gigs. This was the time where I got to see Infragistics customers actually using the product within their applications and being able to help with their problems in real time.

In my current role as a Product Manager, I still do all of the above, but I am also responsible for setting the direction for our ASP.NET product. So, if you want to discuss anything regarding the ASP.NET toolset, please feel free to contact me: murtazaa@infragistics.com
Nithyaduruvan
Software Developer (Senior) iNautix Technologies India Pvt. Ltd.
India India
Nithyadhruvan; graduated in 2007 (B.E.). Coding since then in .Net. More into asp.net, C#, JavaScript, JQuery, Ajax, HTML...

When I'm not coding to earn I like to code at home, solve sudoku, and stare at walls!
Ondrej_Uzovic
Architect
Slovakia Slovakia
My programming path started in 1987 when I got my first computer Sharp MZ-800.
It came with 8 bit CPU Z80, 64Kb RAM and the tape recorder. It was a great machine. I think I still have it somewhere.
I was fascinated and I started to write first programs. Eventually I became developer and software architect. I like innovations and clean nice solutions.
Paulo Morgado
Software Developer (Senior) Paulo Morgado
Portugal Portugal
Paulo Zemek
Software Developer (Senior) Microsoft
United States United States
I started to program computers when I was 11 years old, as a hobbyist, programming in AMOS Basic and Blitz Basic for Amiga.
At 12 I had my first try with assembler, but it was too difficult at the time. Then, in the same year, I learned C and, after learning C, I was finally able to learn assembler (for Motorola 680x0).
Not sure, but probably between 12 and 13, I started to learn C++. I always programmed "in an object oriented way", but using function pointers instead of virtual methods.

At 15 I started to learn Pascal at school and to use Delphi. At 16 I started my first internship (using Delphi). At 18 I started to work professionally using C++ and since then I've developed my programming skills as a professional developer in C++ and C#, generally creating libraries that help other developers do their work easier, faster and with less errors.

Want more info or simply want to contact me?
Take a look at: http://paulozemek.azurewebsites.net/
Or e-mail me at: paulozemek@outlook.com

Codeproject MVP 2012, 2015 & 2016
Microsoft MVP 2013-2014 (in October 2014 I started working at Microsoft, so I can't be a Microsoft MVP anymore).
Pete O'Hanlon
CEO
United Kingdom United Kingdom
A developer for over 30 years, I've been lucky enough to write articles and applications for Code Project as well as the Intel Ultimate Coder - Going Perceptual challenge. I live in the North East of England with 2 wonderful daughters and a wonderful wife.

I am not the Stig, but I do wish I had Lotus Tuned Suspension.
Raymund Macaalay
Technical Lead
New Zealand New Zealand
http://nz.linkedin.com/in/macaalay
http://macaalay.com/
Roberto Sonnino
Virtual Dreams
Brazil Brazil
Hi! I'm Roberto. I'm a Brazilian Engineering student at the University of São Paulo and the Ecole Centrale de Lille (France).

I've participated in the Imagine Cup competition and went to the world finals every year from 2005 to 2009. I also won the 1st place award in 2006, in India, for the Interface Design invitational, in 2007 in Korea, for the Embedded Development invitational, and in 2009 in Egypt for the Windows Mobile Award.

Currently I keep a blog (in English and Portuguese) at http://virtualdreams.com.br/blog/ and a weekly webcast about WPF and Silverlight (in Portuguese) at http://www.xamlcast.net.
sadomovalex
Russian Federation Russian Federation
No Biography provided
Sebastian Solnica
Software Developer (Senior)
Poland Poland
Interested in tracing, debugging and performance tuning of the .NET applications.

My twitter: @lowleveldesign
My website: http://www.lowleveldesign.org
shynet
Software Developer Nemex Studios
Israel Israel
My name is Shay and I'm 21 years old.
At age 16 I created Nemex Studios (www.byshynet.com), an application development "company" (not official).
I'm the developer of "Mouse Recorder Pro", "Mouse Shaker" and many other applications, developed to help the community.
SofianH
Software Developer
Canada Canada
He is a Software developer and currently doing a Master's degree in Computer Science, his main fouces is .Net, ASP.Net, and Silverlight.
Stefan Savev 2
United States United States
No Biography provided
thebacon
United States United States
No Biography provided
User 271009
United States United States
No Biography provided
Williarob
Software Developer (Senior) Salem Web Network
United States United States
Robert Williams has been programming web sites since 1996 and employed as .NET developer since its release in 2002.
Ziv Nitzan
Software Developer YIT
Israel Israel
No Biography provided
You must sign in to participate in this contest.
This contest has ended.
1 Oct - 31 Oct 2010