Home > Articles > Programming > C#

C#

131 Items

Sort by Date | Title

Introduction to UI Design Patterns for Windows 8 Apps
Nov 6, 2012
In this excerpt from Building Windows 8 Apps with C# and XAML, learn about the various parts of MVVM and how to apply it with a special focus on testing.
A Brief Tour of C# 6.0
Feb 16, 2015
Are you eager for the release of C# 6.0? Bill Wagner is! The author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition discusses a few of his favorite new features, including some that you probably thought were already in the code, and other pleasant surprises.
A C# Programming Tour
Sep 6, 2002
This first chapter is designed to build confidence and get you immediately productive with C# by having you build a real-world application that lets a user browse his hard drive and display a picture on the screen.
A C# Reading List by Eric Lippert
Nov 7, 2011
C# expert Eric Lippert discusses some of the books he recommends to others and cannot live without himself.
A Pleasant New C# Syntax for String Interpolation
Aug 3, 2015
Does your C# code produce strings that combine text and computed values? The new features for string interpolation in C# 6 will make that code cleaner and clearer. Bill Wagner, author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, shares his enthusiasm for this new feature's ability to let you do more with less.
An Overview of Windows 8 Sensor APIs
Oct 24, 2012
The Windows Runtime contains special APIs that allow you to build applications that respond to events like shaking the tablet, tilting the tablet, or providing contextual information based on the user’s location. In this excerpt from Building Windows 8 Apps with C# and XAML, Jeremy Likness offers a brief overview of the available sensor APIs.
Anonymous Methods in C# 2.0
Oct 28, 2005
While demonstrating the rudiments of anonymous methods, Paul Kimmel answers the question "Are anonymous methods just someone being a bit too clever?" This article is adapted from Paul's book C# Express (Addison-Wesley).
Applied C#
Feb 1, 2002
This sample chapter from Applied .NET: Developing People-Oriented Software Using C# shows you how isolated C# language constructs can be woven together to produce the new and exciting people-oriented class of software.
art_gore_outsourcing
Jan 1, 2003
ASP.NET Rendered Custom Controls with C#Builder
Apr 23, 2004
Of the three types of ASP.NET controls, a rendered custom control is the most powerful. Rendered custom controls give you the ability to manipulate the appearance and behavior of a control at a very fine-grained level. Although rendered custom controls are somewhat complex to use, the advantage is that you have full control over their appearance, events, and state.
Auto Property Enhancements in C# 6
Jun 25, 2015
Bill Wagner, author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, demonstrates how enhancements in auto properties make it easier to express your design intent. This modern syntax helps your code's design to be cleaner and clearer, with a much more concise syntax for read-only properties.
Automate Your Development: Build Code Diagnostics and Code Fixes with the .NET Compiler Platform APIs
Mar 5, 2015
An important feature of the API framework in the Visual Studio 2015 compiler is the capability to create your own diagnostic, code fix, and refactoring projects. Bill Wagner, author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, shows how you can use these APIs to automate everyday tasks such as finding code that lacks enclosing braces - and then adding them automatically.
Await, Catch, and Finally in C# 6
Aug 31, 2015
Did you think await was allowed everywhere in earlier versions of C#? You're not alone. Now that the keyword is available in catch and finally clauses, Bill Wagner, author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, shows how to use the advantages await offers in exception-processing scenarios.
Background Tasks in Windows 8.1
Jul 29, 2014
Windows Store apps are designed to remain alive and connected even when they are not running. Your app may need to fetch data from a remote server, download large files in the background, scan the file system for changes, or connect with a web service to retrieve updates while the user is performing other tasks. Fortunately, the Windows Runtime (WinRT) provides a mechanism referred to as background tasks that provides this functionality. In this article, Microsoft MVP for Silverlight Jeremy Likness shows you the variety of tasks that are available from updating information on the lock screen, raising alerts from incoming messages, to playing audio in the background and receiving data only when the connection is not metered.
Basic Concepts of the C# Programming Language
Jun 30, 2006
Ben Watson Talks about C#, WCF, Manycore, and Big O
Mar 17, 2010
Larry O'Brien interviews Ben Watson, Microsoft software engineer, about why performance isn't the most important thing, the two amazing things about WCF, and his work with Big O notation and Bing.
Better Error Handling with the New Exception Filters in C# 6
Aug 17, 2015
The exception filters in C# 6 cut back on the cumbersome error-handling code commonplace to earlier releases. Of course, handling errors is part of the job, but new implementations in C# 6 can diminish the extra work. Bill Wagner, author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, details the changes in the new release.
Building Breakernoid in MonoGame, Part 1
Feb 18, 2014
In the first of four articles on how to create a clone of classic brick-breaking games using C# and MonoGame, Sanjay Madhav walks you through setting up the basic infrastructure, creating a base game object class, and adding a moving paddle.
Building Breakernoid in MonoGame, Part 2
Feb 25, 2014
In the second of four articles on how to create a clone of classic brick-breaking games using C# and MonoGame, Sanjay Madhav guides you through the physics of ball movement and collisions with the paddle and blocks.
Building Breakernoid in MonoGame, Part 3
Mar 4, 2014
In the third of four articles on how to create a clone of classic brick-breaking games using C# and MonoGame, Sanjay Madhav shows you how to add some exciting power-ups, different color blocks, and sound effects to the game.

Page 1 2 3 4 5 Next >