C#


Readers Respond: Of C++ and HTML 5

The language and library improvements outlined in Sumit Kumar's April 2010 article, "The Evolution of C++ in Visual Studio 2010," didn't alleviate a few readers' perceptions that C# and Visual Basic will win out at the expense of Visual C++/CLI.

Use Mocking Frameworks to Improve Code Quality

C# Corner's Patrick Steele dives into mocking frameworks and how they can help you write more efficient and testable code.

Make Good Use of Code Maintenance

Patrick Steele illustrates useful techniques for modifying existing code while maintaining backward compatibility.

Using LINQ to Express Intent

Use LINQ outside of databases to make your code easier to read and maintain.

Red Gate Launches .NET Reflector Pro, Updates Community Edition

The popular tool's first commercial extension is a Visual Studio add-in for debugging third-party assemblies.

Generating Code with CodeSmith

CodeSmith Studio supports the creation of code-generation projects for a wide variety of outputs-though it has limited integration with Visual Studio.

C#: Interface-Based Programming

Interfaces can make your applications easier to test and maintain.

The Azure Factor

How factoring out common patterns in your Azure worker roles can improve development.

Getting Current on MEF

ASK KATHLEEN: Readers explore Managed Extensibility Framework, using callback delegates and how to create the equivalent of a C# partial interface in Visual Basic.

Turbo Charge Visual Studio with DevExpress CodeRush

REVIEW: DevExpress CodeRush 9.2 is a powerful productivity booster for .NET developers that includes the Refactor! Pro tools from Developer Express.

Oracle Updates Berkeley DB with New APIs, Performance Boost and .NET Support

In a bid to attract more developers to its Berkeley DB open-source embeddable database, Oracle released two upgraded versions with new APIs for simplifying application development and for the first time, support for Microsoft's C# and .NET Framework.

Looking Ahead to C# 4.0: Optional and Named Parameters

Optional and named parameters were added to the C# language for COM and Office interoperability, but these features are actually useful in a variety of ways.

Collections Class

A Junior Developer Learns that Seniority Doesn't Mean Smarter.

Working Effectively with Exceptions

Exceptions are a way of life in the .NET world. You must follow the rules to make your classes easy to use for other developers. Conforming to the standards will make everyone's life easier.

Microsoft Adds C#, CLI to Community Promise, Boosts Mono Project

To address licensing questions surrounding the Mono Project, Microsoft has agreed to apply its Community Promise to both C# and the Common Language Infrastructure (CLI).

Test-Driving MonoDevelop 2.0

Is the open source IDE for cross-platform .NET development a viable alternative to Visual Studio 2008?

July Product Watch: AVIcode Intercept uX, Mykonos 1.0, More

Visual Studio Magazine gives a rundown of AVIcode's Intercept uX, Mykonos' 1.0 AJAX security framework, and Borland's TeamDefine.

.NET 4 Revealed

As applications take flight beyond the desktop, the .NET Framework is trying to keep pace. The programming environment, which debuted in 2002 and today ships with Windows, SQL Server and Visual Studio, remains the consistent foundation for Microsoft's proliferating toolsets.

Generic Covariance and Contravariance in C# 4.0

Covariance and contravariance are precise terms that describe which conversions are safe on parameters and return types. Learn practical definitions for those terms, what new constructs will be supported in C# 4.0 and how to live with the current limitations until Visual Studio 2010 is adopted by your organization.

Make Your Code Clear

There are multiple ways to solve every problem. Strive for code that communicates your intent and makes your meaning clear for every developer who uses it.

Upcoming Events

.NET Insight

Sign up for our newsletter.

I agree to this site's Privacy Policy.