C# CRASH COURSE
Curly braces and semicolons, oh my! C#—pronounced “C Sharp”—as a brand, spanking new language has aroused considerable interest in the programming community. The widespread introduction of a new language is a rare event. While C# borrows from Java, C++, C, and even Visual Basic—for example, adopting VB’s foreach syntax for use with collections—and Pascal, it is a truly new language—and, in the opinion of this author, quite wondrous.
Is C# intended to be a “Java killer?” It’s true that if you look at Java and C# code side-by-side, they look very similar. But primarily, C# is the native language of the .NET Framework. Whether you program the objects and classes of .NET in VB.NET or C#, a great deal of the work has to do with understanding those objects and classes—rather than the language used. In fact, most things you are likely to do in C# can also be done in VB.NET—so the choice of which language to use is one of personal preference rather than necessity. However, once you get used to C#, I think you’ll come to love it, and find that it is particularly well suited to working with .NET.
This three-part crash course is intended to ease the learning curve and help you get started working productively with C#. It assumes that you’ve done some programming and perhaps are an experienced user of a pre .NET version of Visual Basic. The first part explains identifiers, variables, constants, and types. Part II shows you how to work with arrays in C#, and Part III of the course explains “everything you wanted to know but were afraid to ask” about strings in C#.
|
|
Search Engine Optimization
 
Syndication Viewer
Our Web host:
IX WebHosting
|