Windows Phone - Windows Phone Data Binding

Thu, 01 Mar 2012 10:00:00 GMT

Jesse Liberty shows the strength of XAML programming as he discusses hands-on code for data binding against runtime data, design-time data and binding one control to another.

Read article

Windows Phone 7 - Your First Windows Phone Application

Tue, 03 Jan 2012 10:00:00 GMT

Your first Windows Phone application should be interesting, but not so complex you’ll get bogged down. Jesse Liberty walks you through a simple yet handy application that touches on many aspects of building good-looking and useful XAML-based Windows Phone applications.

Read article

Delegates in .NET - A Primer on Creating Type-Safe References to Methods in Visual Basic .NET

Tue, 14 Jan 2003 10:00:00 GMT

Delegates, new in Visual Basic .NET, are type-safe, object-oriented references to methods. By using delegates, you make your methods accessible to others and therefore more extensible. This article provides an introduction to delegates, their benefits, and how they are used.Here the author shows you how to declare, create, and use delegates to invoke instance and shared methods at run time, and how to implement delegates as properties. He then goes on to provide examples of how delegates are used for callback functionality and explains the relationship between delegates and events. Finally, the article provides a glimpse at how delegates are implemented in intermediate language code by the Visual Basic .NET compiler.

Read article

.NET Exceptions - Make the Transition from Traditional Visual Basic Error Handling to the Object-Oriented Model in .NET

Tue, 15 Oct 2002 10:00:00 GMT

If you're used to Visual Basic 6.0 and you're making the transition to Microsoft .NET, you will find that error handling is quite different from what you've used for years. Visual Basic .NET uses a more object-oriented solution to signaling and responding to unexpected problems while your program is running. This approach, called structured exception handling, has a number of advantages over the On Error statements provided in previous versions of Visual Basic. For instance, exceptions give you lots more informationabout exactly what went wrong in your app. To help you take advantage of this modern error handling paradigm, this article will show you how to raise and respond to exceptions, as well as how to create your own custom exception classes.

Read article

C++ -> C# - What You Need to Know to Move from C++ to C#

Tue, 12 Jun 2001 10:00:00 GMT

C# builds on the syntax and semantics of C++, allowing C programmers to take advantage of .NET and the common language runtime. While the transition from C++ to C# should be a smooth one, there are a few things to watch out for including changes to new, structs, constructors, and destructors. This article explores the language features that are new to C# such as garbage collection, properties, foreach loops, and interfaces. Following a discussion of interfaces, there's a discussion of properties, arrays, and the base class libraries. The article concludes with an exploration of asynchronous I/O, attributes and reflection, type discovery, and dynamic invocation.

Read article