Interest in Microsoft’s new C# language has been building over the last few months, and some cube-farm prognosticators have even been calling it the .NET language to learn. But if you’re feeling a little behind the curve when it comes to C#, don’t sweat it. We’ve got our own tutorial of sorts, designed to get the average programmer up to speed on C# with a minimum of hassle.
Hacking the basics
If you’ve ever seen any Java code before, you’ll find C# to be very familiar. If, on the other hand, you’ve never laid eyes on Java outside of a latte at Starbucks, you’ll probably want to walk through some code. In either case, you should first get your feet wet with C#’s syntax by checking out our introductory article series:
- C# is an object-oriented programming language, and you won’t get far without understanding its OOP support. “Anatomy of a C# class” will introduce you to those necessary basics, such as scope modifiers and inheritance.
- “Give your C# programs a boost: Tips for using constants, methods, and constructors” builds on the basics by showing you how to actually build a C# class.
Graduating to the next level
If you’re looking for more advanced topics, you should check out these articles:
- “Upon ‘reflection,’ C# attributes can simplify programming tasks” introduces the attribute, a generic information container useful in a variety of situations.
- “Throw in a little syntactic sugar for more succinct C# code” provides an introduction to C#’s more advanced OOP features, such as properties, indexers, and operator overloading.