Library tutorials & articles tagged with c#
-
Exceptions and Performance in .NET
by Jon Skeet
Almost every time exceptions are mentioned in mailing lists and newsgroups, people say they're really expensive, and should be avoided in almost all situations. Jon Skeet examines the claim.
-
Test-Driven Development in .NET
by Peter Provost
An article presenting benefits and techniques for using test-driven development in .NET, specifically examining the NUnit testing framework.
-
Web Services Interoperability between J2EE and .NET - Part 3
by Wangming Ye
Explore the source of the common interoperability challenges facing Web services integration across platforms. This third part in a series describes how the different naming conventions between J2EE technology and .NET can cause difficulty in Web services interoperability.
-
Strings in .NET and C#
by Jon Skeet
The System.String type (shorthand string in C#) is one of the most important types in .NET, and unfortunately it's much misunderstood. This article attempts to deal with some of the basics including interning, literals and encoding.
-
Filtering and Sorting in ADO.NET
by Martin Zahn
ADO.NET supports many ways to manage memory-resident data returned in a DataSet. This example demonstrates how to use the additional functionality exposed by ADO.NET to sort and filter data.
-
Parameter Passing in C#
by Jon Skeet
Many people have become fairly confused about how parameters are passed in C#, particularly with regard to reference types. This article gives an in-depth discussion of the differences between default/ref/out parameters.
-
Floating-Point in .NET Part I: Concepts and Format
by Jeffrey Sax
The first in a three part series, this article introduces the basic concepts of floating-point arithmetic: number formats, accuracy and precision, and round-off error. It includes an in-depth discussion of the .NET floating-point types.
-
.NET Delegates: A C# Bedtime Story
by Chris Sells
An introduction to delegates, listeners, events and asyncronous notification.
-
Query Tool to Excel using C# and .NET
by Mike Gold
Demonstrates how to use .NET interop to perform an SQL query and then send the results into an Excel spreadsheet.
-
How to access Outlook and post to a blog using C#
by Simon Soanes
An article for all those like Robert Scoble who would like to be able to drag and drop an item to a folder in their Outlook and post it instantly to their Blog. We also briefly cover web services and talking to Outlook.
-
Tree structures in ASP.NET and SQL Server
by James Crowley
Takes a look at how tree structures can be usefully stored in a relational database such as SQL Server, and how to implement web directory-like features such as breadcrumbs.
-
Registry In's and Out's Using C#
by Michael Bright
A complete introduction to accessing the Windows registry from .NET
-
Using MySQL with .NET
by cardinals33
Ever wanted to combine the power and ease of the .NET platform with a free database like MySQL? Well thanks to ODBC database functions in ADO.NET it's really easy. This article shows how.
-
Printing Reports in .NET
by Mike Mayer
Learn how to print reports from C# and other .NET languages using the open source library presented here. Features include Printing DataTables, printing paragraphs of text using style classes, customizable page headers and footers, boxes, lines, graphics and much more.
-
A Console IRC Bot
by David Cumps
Learn how to establish an IRC connection, log in and perform commands on an IRC server.
-
Introducing a post-relational database for .NET
by John Sasak
This is a step by step guide for a post-relational database for .NET, Matisse. The article is aiming at helping developers quickly evaluate this alternative solution as .NET database when they face problems of productivity, flexibility, extensibility, or maintainability.
-
Using .NET to make your Application Scriptable
by Tim Dawson
Shows how to use the built-in compilers in the .NET framework to allow users of your product to write script to control and hook in to the application.
-
Hosting Control Panel Applets using C#/C++
by Mark Belles
Check out this article which describes how to enumerate and host Windows Control Panel Applets using C# and unmanaged C++.
-
Launching a process from Windows Forms
by Mike Mayer
This article shows how to launch a process (such as a bat file, perl script, console program) and have its standard output displayed on a windows form.
-
Accessing Hotmail using C#
by Wouter van Vugt
This document will enable you to build your own client, using a sure and solid way to communicate with Hotmail in the same way as Outlook does. It will be shown how the protocol can be used to your own advantage, and it isn't at all hard to understand either.