The CapitalizeString method uses regular expressions to capitalize every word in a string.
Execute A File Or Application
Get your .NET application to open a file using the operating system’s file type assignments, just like the file would open when double clicked.
Get a list of installed printers
Using a foreach loop in C# to retrieve a list of all installed printers (available or unavailable.)
Encrypting a string using the MD5 algorithm
Getting web page content and headers
This tutorial will teach you how to retrieve the http response from a server using C#. Learn how to get the content of a page, the header returned by the server, and how to pass different details to it, such as the referrer and User Agent.
Compiling from the Command Prompt
This tutorial shows you how you can compile a simple piece of code from the C# command prompt compiler and how to add references.
Jagged arrays
This tutorial explains what a jagged array by giving an example that shows you how set and retrieve values.
Handling and throwing exceptions
You’ll learn the basics of handling and throwing exceptions. Uses examples to demonstrate.
Method for resizing pictures with aspect ratio
The GenerateThumbnail() C# function resizes pictures for various formats, such as JPEG, PNG and BMP, and maintains their aspect ratio.
Converting Word Documents to RTF, HTML, TXT, XML
In this tutorial you’ll learn how to open and convert Word documents (.doc) to the popular formats RTF, HTML, TXT and XML. You will also find yourself learning the basics of operating with COM objects. Advertisement Opening and manipulating Microsoft Office Word documents (.doc) can be done rather easily using the .NET Framework. You are […]