C#


The Factory Pattern in .NET (Part 3)

C# Corner columnist Patrick Steele concludes his exploration of factory patterns in .NET.

Abstract and Delegate-based Factories in .NET

In part 2 of a series of columns on using factory patterns, Patrick Steele shows how factory patterns can be used to make your applications more flexible.

The Factory Pattern in .NET

Just as a car factory creates cars on an as-needed basis, we can create "factories" in our code to create objects for our applications' specific needs. In this first article of a series, we'll explain what the factory pattern is and how you can use it in your code to make your applications more flexible.

Multithreading in WinForms

The .NET Framework has full support for running multiple threads at once. In this article, Patrick Steele looks at how threads accomplish their task and why you need to be careful how you manage a WinForms application with multiple threads.

Letters: The Good, Bad and Ugly of C#

Readers respond to C# Corner columnist Patrick Steele's look into the best and worst of the C# programming language.

Microsoft Moves WebMatrix to Beta 2

WebMatrix Beta 2 is integrated with NuPack, a new open-source package manager Microsoft announced today. The company also released the ASP.NET MVC 3 Beta, which supports the Razor view-engine.

C#: The Good, Bad and Ugly

It's almost 2011. The Microsoft .NET Framework and C# have been publicly available for almost 10 years -- longer if you count the early betas.

A Question About the Entity Framework

Lennie Lobel, CTO of Sleek Technologies and a consultant at twentysix New York, is an expert on Entity Framework and Microsoft .NET Framework data-access technologies.

5 C# Traps to Avoid

C# Corner columnist Patrick Steele offers a heads up on five gotchas that can trip up even veteran C# programmers.

Working with Windows 7 Thumbnails

In the second of two Windows 7-themed columns, Patrick Steele looks at how to get the most out of thumbnails with the Windows API CodePack.

Inversion of Control Patterns for the Microsoft .NET Framework

Explore new ways to manage dependencies in your applications with Inversion of Control containers and Dependency Injection.

Getting the Jump on Jump Lists

Windows 7 contains a number of UI improvements to the classic taskbar. One very useful feature for quickly launching an application with its associated files is Jump Lists. In this issue, we'll look at how you can utilize Jump Lists in your own Windows 7 applications.

Q&A: Microsoft's Lisa Feigenbaum Talks About C#

Microsoft's community program manager for the Visual Studio Managed Languages Team talks about the new capabilities in C# 4 and what we can expect going forward.

What's New in C# and .NET 4

Patrick Steele looks at the enhancements in Visual Studio 2010 and .NET 4 that will make your C# development more productive.

Experiencing C# from a VB Developer's Perspective

On VB author Joe Kunk talks about his impression of C#.

Code Contracts in .NET 4

Patrick Steele looks into C# Code Contracts under .NET 4 and how they can streamline code validation.

Memory Mapped Files

Patrick Steele shows how you can realize major performance gains when working with large images by using memory-mapped files.

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.

Upcoming Events

.NET Insight

Sign up for our newsletter.

I agree to this site's Privacy Policy.