C# Tutorials & Articles
-
Creating a database connection
by Tony HoCreating connections and all your data objects are really easy Design-Time, but what if you need it for runtime? Here's how.
-
C# 4.0 goes dynamic - a step too far?
by Mike JamesIs C# in danger of too much change? Mike James ponders the implications of dynamic types in C
-
Introducing Visual Studio .NET 2008 - Top 10 Features
by Mark SmithAfter a long beta period, Visual Studio .NET 2008 is finally on general release. There are a ton of new features and enhancements in this release that make it almost a no-brainer to upgrade - I thought I’d take a moment and list my top ten favorites in no particular order.
-
Documentation made easy with C# and XML
by Mike JamesOf course you want to document your code, but how many of us do? Mike James thinks that coding and documenting can go hand-in-hand.
-
Enhancing your applications for Windows 7
by Kevin GriffinWindows 7 brings new salvation for .NET developers, and it comes in the form of the Windows 7 API Code Pack for the.NET Framework.
-
LINQ to log files
by Jon SkeetRunning LINQ queries over databases gets all the limelight, but Jon Skeet reminds us of it's possibilities over object graphs too.
-
New C# 3.0 Language Features
by Scott GuthrieLearn about some of the new features in C# 3.0 including automatic properties, collection initializers, extension methods, lambda expressions and anonymous types.
-
Regular expressions in C# - the director's cut
by Mike JamesIf you think regular expressions are trivial and boring, Mike James reveals that in .NET they are amazing powerful and not to be missed.
-
Why F#?
by Mike JamesWhat exactly is functional programming, and why is it so important? Mike James explains the functional ideas embodied in F#, and provides some help with getting to grips with the language.
-
Introducing Python for .NET - IronPython
by Mike JamesIs it a dead parrot or does it fly? Mike James looks at IronPython and asks if it really is something completely different.
-
Implementing the Singleton Pattern in C#
by Jon SkeetThe singleton pattern is one of the best-known patterns in software engineering, but often implemented without lazy loading and introducing unintended issues around threading. Jon Skeet runs through the possible implementations.
-
LINQ-ing to XML
by Mike JamesXML, which is all about tree structures, and LINQ, which is all about querying collections, might not seem to fit together, but Mike James explains that they work together just fine.
-
Iterator blocks in C# 2: auto-generated state machines
by Jon SkeetEver wondered how the magic "yield" statement works? Jon Skeet digs into the inner workings of C# 2.0 and how this innocuous statement gets you a whole load of "free" generated code for your iterators.
-
First class functions in JavaScript
by Ian ElliotIan Elliot continues to mine for hidden information relating to JavaScript.
-
Pointers on pointers
by Mike JamesMike James discusses pointers, and concludes that they are often unsafe and generally best avoided.
-
Implementing AJAX in ASP.NET
by Karl SeguinAsynchronous JavaScript and XML (AJAX) has recently become the craze thanks, in no small part, to Google’s usage of it in Google Suggest as well as Google Maps. Karl looks at how it works, and how we can implement it in ASP.NET using a free AJAX.NET wrapper.
-
How to access Outlook and post to a blog using C#
by Simon SoanesAn 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.
-
Tap into the power of the Windows 7 Taskbar
by Paul FosterThe task bar has some of the most visible improvements in Windows 7 - find out how to hugely increase the usability of your application by tapping into the taskbar functionality
-
Uploading Images to a Database
by Dave WantaLearn how to allow a user to upload an image to your server and store the binary data in a Microsoft SQL database.
-
Building Application Framework with C#
by Nauman LaghariThe Article introduces a C# developer to building framework. After reading, you'll get how the big names have performed most of the magic in Application Frameworks, like the Java Applet and Servlets Framework as well as the Microsoft Foundation Classes. This article is just an introduction to the complex topic. A short code sample is provided for practically demonstrating the purpose.