Home > Visual Studio 2008 Learning Guide: C# 3.0
Learning Guide:
EMAIL THIS LICENSING & REPRINTS

Visual Studio 2008 Learning Guide: C# 3.0

05 Nov 2007 | SearchWinDevelopment.com

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

   TABLE OF CONTENTS   

   Visual Studio 2008 Quick Start
   Visual Studio 2008 Tips and Tutorials
   Visual Studio 2008 and LINQ
   Visual Studio 2008 and Visual Basic 2008
   Visual Studio 2008 and C# 3.0
   Visual Studio 2008 and Multi-targeting
   Visual Studio 2008 and Data Access
   Visual Studio 2008 and .NET Architecture
   Visual Studio 2008 and Smart Client Development
   Visual Studio 2008 and Web Development
   Visual Studio 2008 and JavaScript IntelliSense
   Visual Studio 2008 Testing and Debugging
   Visual Studio 2008 Products and Plug-ins
   VISIT OUR OTHER LEARNING GUIDES

Visual Studio 2008 and C# 3.0

This section of the Visual Studio 2008 Learning Guide looks at the new and improved features of C# 3.0. As previous sections indicated, the introduction of LINQ had a lot to do with how the language changed. After reading this section, you can read about multi-targeting, the Visual Studio 2008 feature that lets developers and architects use VS 2008, and all its new features, to build applications for .NET 2.0 and .NET 3.0.

C# 3.0 language specifications (MSDN)
This Word document, the first link on the page, provides an exhaustive list of C# 3.0's language specifications.

Visual Studio 2008 Programmer's Guide: C# 3.0 (MSDN)
This serves as a landing page for Microsoft's reference material for C# 3.0 programmers. (Note: The headline may say C# 2.0, but, rest assured, the resources are for the newest version of the language.)

An introduction to C# 3.0 (Tim Rayburn)
This blogger, a BizTalk Server MVP, had given his "Introduction to C#" talk to numerous user groups throughout the south central United States and then decided it was high time he recorded it fot all to see.

C# 3.0 language enhancements (Mike Hanley)
This blogger looks at seven language enhancements, four of which demonstrate an improvement over how things are done in C# 2.0 and three of which -- query expressions, anonymous types and lambda expressions -- are new to C# 3.0.

Book: Programming C# 3.0, Fifth Edition (O'Reilly Media)
Aimed at beginner and intermediate programmers, this title discusses base class libraries and walks readers through the processes of creating Windows and Web applications.

Book: C# in a Nutshell, Third Edition (O'Reilly Media)
This title covers language syntax, base class libraries and other key features of C# 3.0. Its chapters are organized around use cases, making themes easier to follow.

*** These articles look at individual C# 3.0 features.

New C# 3.0 language features: Automatic Properties, Object Initializers and Collection Initializers (Scott Guthrie)
Here Guthrie introduces these three new C# 3.0 features. Each takes advantage of a more powerful compiler to reduce the lines of code a programmer must type.

On Extension Methods in C# and .NET Framework 3.5 (SearchWinDevelopment.com)
Blogger Alex Hoffman's "Adventures in .NET 3.5" offers quite a bit of advice for the C# architect on working with Extensions Methods.

Implicitly typed variables in C# 3.0 (Programmer's Heaven)
As this blogger puts it, C# programmers are not declaring a variable of type "var" (which wouldn't mean much. "Actually," he said, "'var' is not a type, but rather a new keyword that means, 'I want to declare a variable, but I'm too lazy to write out its type.'" Essentially, the compiler will figure out the type for you.

C# 3.0 Partial Methods: What, why and how? (Bart de Smet)
Introduced with VS 2008 Beta 2, partial methods allow classes to be extended when the method is implemented. Since even this blogger admits that the concept is vague, a detailed explanation follows.

C# 3.0: Are Object Initializers evil, useful or both?(Kevin Hoffman)
Thanks to object initializers, a class can be instantiated and, then, "practically in the same breath," public properties or fields can also be initialized and assigned new values. It's a powerful feature, but this blogger says he is afraid that neophyte programmers may "run with it and completely abuse it."

Extension Methods in C# 3.0 + fluent interface = Ruby-like syntax (Troy DeMonbreun)
For this developer, extension methods are elegant enough to give Ruby date syntax "a good run for its money."

C# 3.0 Lambda Expressions replacing anonymous methods (Steve Michelotti)
Anonymous methods syntax could sometimes be confusing, this blogger notes, as it could involve lining up curly braces and getting delegate signatures right. Lambda expressions in C# 3.0 reduce this complexity -- and the amount of hard coding that is needed.


*** Go on to the next section of the Visual Studio 2008 Learning Guide: Visual Studio 2008 and Multi-Targeting


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
.NET Framework 3.5 and Visual Studio 2008 development
Printing in Windows Presentation Foundation
Book excerpt: Murach's VB 2008
Mainsoft introduces .NET-to-Java translation tool
A view on VS 2008: On-line agency sees reasons to upgrade
LINQ Learning Guide: LINQ and Visual Studio 2008's new language features
Customizing Visual Studio 2008 using VS Shell
Shell Objects adds Visual Studio 2008, x64 support
How to uninstall pre-release versions of Visual Studio 2008
.NET Framework Library source code released
.NET Framework goes multicore

C# programming language
LINQ beyond queries: Strong-typed refection
Assembly versioning in the .NET Framework 2.0
Book excerpt: Creating graphical output using the .NET Compact Framework
Simonyi firm to address divide between domain experts and developers
On Extension Methods in C# and .NET Framework 3.5
Generate RSA public and private keys, export to XML
Book excerpt: Upgrading to Visual Studio 2005
Learning .NET: Tips for getting started with .NET development
Book excerpt: Code snippets in Visual Studio 2005
Choosing VB.NET or C# Learning Guide

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Cosmos  (SearchWinDevelopment.com)
IronRuby  (SearchWinDevelopment.com)
Visual Studio Express (VSE)  (SearchWinDevelopment.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts