C# Fundamentals: Overview of the C# and the .NET Framework

C# has been around for at least 12 years now. It was initially released in 2002. Since that time, the language has grown and matured. We’re on version 5.0 and 6.0 is coming out soon.

Design Goals

C# had very specific design goals in mind. It was to be simple, modern, object-oriented, support strong type and array bounds checking, and automatic garbage collection. Continue reading


Upcoming C# Fundamentals Blog Series

I am developing a new blog series that will teach a new C# developer everything he or she needs to know to begin writing applications in the language. The first post will be released on 12/5/14. Subsequent posts will be released every Friday. Continue reading

Web Forms Basics: .NET Server Controls

This is going to be a deep dive into the markup, or view, side of a page. If you recall in an earlier post, we took a very high level look at the different components that make up a page.

These pages allow you to enter special server-side controls, which can be modified or acted upon on the server, through a code behind file, typically.

Please note that this will not be a tutorial on how to use Visual Studio or how to File > New Project something. This will be an exploration into server controls in ASP.NET.

Continue reading

Object Oriented Programming Part 3: Inheritance, Encapsulation, and Polymorphism Are Awesome

I’m taking a different approach to these blog posts and am trying to be more natural. I usually don’t talk stuffy in real life, and this is a blog, so I am going to be all natural with the way I write.

Here goes nothing.

Inheritance, Encapsulation, and Polymorphism are the three pillars of OOP and allows us to do some pretty cool things. Don’t believe me? I’ll show you after the break.

Continue reading

Object Oriented Programming Part 2: Classes in Depth

In part 1 we discussed what an object is. For a brief review, an object is an instance of a class. A class is a file with code in it.

In today’s post, we will cover classes more in depth. If you recall the Chair class example, it only contained properties. Classes can also contain methods, fields, and member variables.

Let’s look at these items in more detail.

Before we delve into properties and methods, let’s take a look at access modifiers. They are a key feature of OOP because it allows functionality be encapsulated in a class.

Continue reading