A sample code on how to send emails with .NET Framework 2.0 using C#. The code authenticates to a SMTP server and then sends an email to multiple recipients. It can easily be used in ASP.NET 2.0 websites.
Programming Windows dialogs
Programming a simple dialog box and explaining the code. Good for C# beginners that only did their work in the console.
Class methods
Teaches you the role of a method in a class, definining and using a method and method overloading.
Escape Unsafe XML Characters
Before introducing data into XML clients, be it within tags or attributes of tags, it’s important to escape all illegal XML characters that might break the validity of the XML. This can be easily done in C# using the Escape method.
Introducing C#
An introduction to C Sharp and object oriented programming. Superficially covers a few aspects of C Sharp and builds your first C# program, the classic ‘Hello World’.
Get Letters Of The Alphabet
Get the alphabet by looping through the ASCII values 65 to 90, which correspond to uppercase A through Z.
Validate DateTime Format
Test a C# date and time as a valid DateTime object format through error handling.
Validate Value As Numeric
Test passed values to see if they are numeric or not using the TryParse method on the Double data type.
Find Controls In MasterPages Recursively
A useful piece of code that enhances the search for the control with the specified name under the passed parent control.
File transfers through networks and the Internet
This tutorial will teach you how to send and receive files from your local system to a server, either through a network or through the Internet, using C# and streaming connections. This tutorial is also helpful for learning the basics of networking using the .NET Framework. In this tutorial we’re going to build a very […]