C# Fundamentals – Delegate Basics Part 1

From time to time I like to visit the opposite end of the spectrum from high-falutin’ software architecture topics, and examine the basics of such topics as C# language, OOP, SQL, JavaScript, HTML5, jQuery, CSS3 etc. Of course there are gazillions of technical articles and tutorials on such subjects; one of my favorite sites for basics is w3schools.

They do a great job. There are a lot of other articles/tutorials, however, that are not that great. Some are so basic that they don’t really leave you with a feeling that you have grasped the topic, and others start right off with complex examples that are hard for beginners to understand.

This post will begin a series of tutorials on C# language fundamentals, in particular some topics that are typically hard for beginners to get a handle on. They will be packaged in the form of complete and functional VS2013 solutions zipped up, so that all one needs to do is unzip, open the solution in VS2013 (any licensed version of VS2013, or you can download Visual Studio Express 2013 for Web for free), and press F5 to execute.

And, in most cases for these fundamental tutorials (as opposed to architecture topics), all of the actual text of the tutorials will be comments right in the source code that you will examine and execute. In this blog post I will just provide a brief summary of what the tutorial is about.

C# Fundamentals – Delegate Basics Part 1

We begin with a discussion of delegates. This is historically a difficult concept for some to grasp. There are step-by-step, “from scratch” examples, explained in the simplest and clearest way possible. Upcoming tutorials will focus on other topics that beginners to C# and/or coding in general, find difficult such as the use of delegates as callback functions and event handlers, and events themselves.

The VS2013 solution for this tutorial can be downloaded from:

DelegateBasicsPart1.zip

Cheers!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s