1. Home
  2. Computing & Technology
  3. C / C++ / C#

A Library of Software written in C# with full source code.

The C# library holds full source code from example articles, reader submitted code and any code that is in the public domain.See also
C Code Library
C++ Code Library

AForge.NET Framework Vision and AI library

AForge.NET is a C# framework for developers and researchers in the fields of Computer Vision and Artificial Intelligence - it includes image processing, neural networks, genetic algorithms, machine learning, and robotics. There's also an image lab example built on the image library.

AWS SDK for .NET

The AWS SDK for .NET lets Windows developers build .NET applications that use the AWS cloud. Using the SDK, developers can build solutions for AWS infrastructure services, including Amazon Simple Storage Service (Amazon S3), Amazon Elastic Compute Cloud (Amazon EC2), and Amazon SimpleDB.

An editor for .NET Resource Files

Although .NET Resource Files (.resx) can be edited within Visual Studio, there is no way to edit them outside. This utility, written by Danish programmer Mads Kristensen provides this capability. Full C# source code included.

An Object-oriented Parser System for Compiler Design

Oops3.net is an object-oriented parser system based on LL(1) grammars, and factory, observer, and visitor design patterns.

C# Scripting Engine ( Open Source )

CS-Script is a CLR (Common Language Runtime) based scripting system which uses ECMA-compliant C# as a programming language. CS-Script currently targets Microsoft implementation of CLR (.NET1.1/2.0) with limited support on Mono.

C#-SQLite - a translation of C code into C#

C#-SQLite is an implementation of the SQLite software library version 3.6.17, ported into managed code, written in C#. It is not an official version of SQLite, and there is completely NO affiliation with SQLite.org

Collection of public domain utilities with C# (1.1/2.0) Source Code

Various applications including fractal generators, JPEG compression, file comparison, website indexing, JScript expression evaluation and others. All with source code. (Note - some need C# 2.0)

Difference Algorithm

An implementation of the difference algorithm published in "An O(ND) Difference Algorithm and its Variations" by Eugene Myers Algorithmica Vol. 1 No. 2, 1986, p 251. This is about comparing text files and the proven, best and most famous algorithm to identify the differences between them.

Facebook Developer Toolkit (Release 2)

If you want to develop Facebook apps in ASP.NET (for server side) the toolkit may prove useful to you. you should also visit the Facebook Developers wiki

Free Open Source (GPL) Object Oriented Database

db40 is an Object Oriented Database for .NET versions 1.0, 1.1 and 2.0. It is licensed under the GPL.

Google Contacts Data API (plus Code)

The Google Contacts Data API allows client applications to view and update Contacts content in the form of Google Data API feeds. Client applications can request a list of a user's contacts, edit or delete content in an existing contact, and query the content in an existing contact. A .NET library is provided for use in Web or Desktop applications.

Lutz Roeder's .NET Utilities

Various utilities for .NET, some with C# source code. These include a resource editor, command bar and assembly analyzer and inspection tool.

LZMA Compression SDK

LZMA SDK provides the documentation, samples, header files, libraries, and tools needed to develop applications that use the LZMA compression algorithm.

Microsoft's SandCastle - a Documentation Compiler

Sandcastle produces accurate, MSDN style documentation by reflecting over source assemblies and optionally integrating XML Documentation Comments. Sandcastle works with or without authored comments, supports Generics and all .NET Frameworks up to 3.5. It's used to build Microsoft Visual Studio and .Net Framework documentation

Microsoft Synch Framework

The Microsoft Sync Framework is a synchronization platform that lets you create collaboration and offline applications, synching services and devices with support for any data type, data store, transfer protocol, and network topology. Note this is currently at CTP 2 (a sort of beta).

Microsoft Reasearch's Singularity Development Kit

The Singularity Research Development Kit (RDK) is based on the Microsoft Research Singularity project. It includes source code, build tools, test suites, design notes, and other background materials. The Singularity RDK is for academic non-commercial use.

Micro Benchmarking by Jon Skeet

This is a single file that provides a [Benmchmark] attribute and shows how long static, parameterless methods take to execute.

MPI.NET: High-Performance C# Library for Message Passing

MPI.NET is a high-performance, easy-to-use implementation of the Message Passing Interface (MPI) for Microsoft's .NET environment. MPI is the de facto standard for writing parallel programs running on a distributed memory system, such as a compute cluster, and is widely implemented in C and C++. This add C# capability.

MusicBrainz - Online library for identifying music tracks

MusicBrainz is a community music metadatabase. You can use the MusicBrainz data from a client program or use a client API in your own software to provide information about the CD, the artist or related information. Use the version 3.01 or higher language bindings.

Nasa World Wind - Displaying GeoData

World Wind lets you zoom from satellite altitude into any place on Earth. It uses Landsat satellite imagery and Shuttle Radar Topography Mission data to let you experience Earth terrain in 3D, as if you were really there.

.NETX - .NET Exe and Dll File Compressor

.NETZ is a free open source tool that compresses and packs the Microsoft .NET Framework executable (EXE, DLL) files to make them smaller and occupy less disk space and load faster. .NETZ is written in C# and is a pure .NET solution that can be used to pack .NET executables written in almost every .NET language.

C# OpenID Libraries

OpenID is a non centralized system for authenticating ID and logging into websites without requiring username and password credentials. This page includes links to several C# libraries.

Open Source C# Programmable Calculator

C# Programmable Calculator is a Reverse Polish Notation (RPN) calculator with custom buttons programmable in C#. This requires .Net 2.0 to run and Visual Studio 2005 to compile source code.

Open Source Zip Compatible Compression Library in C#

#ziplib (SharpZipLib, formerly NZipLib) is a Zip, GZip, Tar and BZip2 compression/decompression library written entirely in C# for the .NET platform. (Both 1.0 and 2.0) It is implemented as an assembly (installable in the GAC), and thus can easily be incorporated into other projects (in any .NET language). You can also use this library in commercial closed-source applications.

PAINT.NET - Free Drawing Software

Paint.NET is free image editing and photo manipulation software for .NET 2.0 on Windows. It supports layers, unlimited undo, special effects, and many powerful tools. [p]Source Code includes nearly 600 C# files. Visual Studio 2005 is needed to build an installation but the software can be viewed in the free Visual C# 2005 Express Edition. Read A Review.

PDFsharp - open Source library for creating PDFs

PDFsharp is an Open Source library hosted on Sourceforge.net that creates PDF documents in any .NET language, on screen to file or to a printer. It can use either GDI+ or WPF and includes support for Unicode in PDF files.

Porter Stemming Algorithm

A stemming algorithm removes the ends of words to reveal the original root of the word. For instance "fishing", "fished", "fish", and "fisher" are all based on "fish". The Porter Stemming Algorithm is a popular and free to use algorithm with implementations in many languages including C and C#.

PostSharp - Enhance .NET Code after compilation

PostSharp is a GPL AOP Framework that lets you enhance code by implementing custom attributes and modifying the IL code after compilation. This makes possible some interesting programming techniques that would otherwise require messy alternatives.

PowerCommands for Visual Studio 2008

PowerCommands 1.1 is a set of useful extensions for the Visual Studio 2008 which enhances various areas of the IDE. The source code is included and needs the VS SDK for VS 2008 to allow modification of functionality or as a reference to create additional custom PowerCommand extensions.

QRCode Library - Encode and decode QR Barcode Images

QRCode Library is a .NET component that can be used to encode and decode QRCode. QRCode is a 2 dimensional bar code that originated in Japan. Nowadays it is widely used in a wide range of industries, e.g. for vehicle parts tracking and inventory management. Note- this requires registration.

Recaptcha - A library for ASP.NET websites to identify humans

The reCAPTCHA ASP.NET Library from Carnegie-Mellon University provides a free and simple way to place a CAPTCHA on your ASP.NET website, and help you stop bots from abusing your website. The library wraps the reCAPTCHA API. You can use the library from any .NET language including C#.

SharpSSH - Secure Communications Library

SharpSSH is a pure .NET implementation of the SSH2 client protocol suite. It provides an API for communication with SSH servers and can be integrated into any .NET application. SharpSSH allows you to read/write data and transfer files over SSH channels using an API similar to JSch's API.

Syndicated Client Framework

These applications use the push capabilities of RSS in a model to sync content down to the local computer. Each application handles presentation of the content and uses Microsoft’s Sync Framework-based Subscription Center to take care of syncing, local storage, subscription management and the safe caching of authentication credentials.

SQLite for .NET - System.Data.SQLite

System.Data.SQLite is an enhanced version of the original SQLite database engine. It's a complete drop-in replacement for the original sqlite3.dll (you can even rename it to sqlite3.dll) with no linker dependency on the .NET runtime so can be distributed independently of .NET, yet embedded in the binary is a complete ADO.NET 2.0 provider for full managed development.

Using Amazon Simple Storage Service (S3) from .NET

This is an advanced C# library that interfaces with the Amazon S3 system. It has full support for data streaming without needing to load data into memory before sending to S3. There's also Data encryption and thread safety that lets you perform multiple simultaneous uploads and downloads.

xacc - C# IDE

acc.ide is a small, fast IDE for .NET development with support for 27 languages and various compilers. It has support for step debugging .NET based executables. Also featured is brace matching and folding support for some languages.

YAReG - Yet Another R(eiser)FStool GUI

YAReG is a free GUI for rfstool. It provides easy and comfortable read access to your ReiserFS formatted Linux partitions through a Windows Explorer type interface.

Webserver - that can be embedded in any .NET application.

Add a webserver to your .NET applications. It adds features using modules and supports REST and all http verbs (and not just GET). Use as few modules (or all) according to your need.

Windows® API Code Pack for Microsoft® .NET Framework

This is a source code library that lets you use some new Windows 7 features plus some existing features of older versions of Windows operating system, all from managed code. These Windows features are not available to developers today in the .NET Framework.

Wix - open Source Installer for Windows

Wix, the Windows Installer XML is a toolset that builds Windows installation packages from XML source code. It supports a command line environment that developers may integrate into their build processes to build MSI and MSM setup packages.

ZedGraph - Open Source Charting Software

ZedGraph is a class library, user control, and web control for .net, written in C#, for drawing 2D Line, Bar, and Pie Charts. It features full, detailed customization capabilities, but most options have defaults for ease of use.

Zscreen - Open Source Utility for Screen Capture on Windows

ZScreen is an open-source screen capture program that can capture region, window or full-screen screenshots. It can FTP screenshots and put the URL in your clipboard in a single keystroke and supports automatic custom naming conventions with variables.
Explore C / C++ / C#
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. Code Library
  5. Code Library for C#

©2009 About.com, a part of The New York Times Company.

All rights reserved.